mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:07:59 +01:00
Prefer " over '.
This commit is contained in:
@@ -32,7 +32,7 @@ const Point = new Struct("x", "y");
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A class to manage the primary web content buffer. The name comes
|
* A class to manage the primary web content buffer. The name comes
|
||||||
* from vim's term, 'buffer', which signifies instances of open
|
* from Vim's term, 'buffer', which signifies instances of open
|
||||||
* files.
|
* files.
|
||||||
* @instance buffer
|
* @instance buffer
|
||||||
*/
|
*/
|
||||||
@@ -1428,8 +1428,8 @@ function Marks() //{{{
|
|||||||
////////////////////// PRIVATE SECTION /////////////////////////////////////////
|
////////////////////// PRIVATE SECTION /////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
var localMarks = storage.newMap('local-marks', true);
|
var localMarks = storage.newMap("local-marks", true);
|
||||||
var urlMarks = storage.newMap('url-marks', true);
|
var urlMarks = storage.newMap("url-marks", true);
|
||||||
|
|
||||||
var pendingJumps = [];
|
var pendingJumps = [];
|
||||||
var appContent = document.getElementById("appcontent");
|
var appContent = document.getElementById("appcontent");
|
||||||
|
|||||||
@@ -1338,6 +1338,7 @@ function Completion() //{{{
|
|||||||
context.completions = config.autocommands;
|
context.completions = config.autocommands;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// TODO: shouldn't these app-specific completers be moved to config.js? --djk
|
||||||
bookmark: function bookmark(context, tags, extra)
|
bookmark: function bookmark(context, tags, extra)
|
||||||
{
|
{
|
||||||
context.title = ["Bookmark", "Title"];
|
context.title = ["Bookmark", "Title"];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ catch (e)
|
|||||||
{
|
{
|
||||||
__liberator_eval_error = e;
|
__liberator_eval_error = e;
|
||||||
}
|
}
|
||||||
// Important: The eval statement *must* remain on the first line
|
// IMPORTANT: The eval statement *must* remain on the first line
|
||||||
// in order for line numbering in any errors to remain correct.
|
// in order for line numbering in any errors to remain correct.
|
||||||
//
|
//
|
||||||
// vim: set fdm=marker sw=4 ts=4 et:
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
|
|||||||
@@ -805,7 +805,7 @@ function Events() //{{{
|
|||||||
{
|
{
|
||||||
if (lastMacro.length == 1)
|
if (lastMacro.length == 1)
|
||||||
// TODO: ignore this like Vim?
|
// TODO: ignore this like Vim?
|
||||||
liberator.echoerr("Exxx: Register " + lastMacro + " not set");
|
liberator.echoerr("Exxx: Register '" + lastMacro + "' not set");
|
||||||
else
|
else
|
||||||
liberator.echoerr("Exxx: Named macro '" + lastMacro + "' not set");
|
liberator.echoerr("Exxx: Named macro '" + lastMacro + "' not set");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,3 +9,4 @@ let url = page ? "chrome://liberator/locale/" + page : content.history.previous;
|
|||||||
|
|
||||||
win.getBrowser().loadURIWithFlags(url, Components.interfaces.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY, null, null, null);
|
win.getBrowser().loadURIWithFlags(url, Components.interfaces.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY, null, null, null);
|
||||||
|
|
||||||
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
|
|||||||
@@ -1113,6 +1113,7 @@ const liberator = (function () //{{{
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
// FIXME: should this really be a user-visible error? --djk
|
||||||
liberator.echoerr("Exxx: Invalid 'where' directive in liberator.open(...)");
|
liberator.echoerr("Exxx: Invalid 'where' directive in liberator.open(...)");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,3 +25,4 @@ document.addEventListener("click", function (event) {
|
|||||||
elem.href = "chrome://liberator/content/help.xul?" + encodeURIComponent(tag);
|
elem.href = "chrome://liberator/content/help.xul?" + encodeURIComponent(tag);
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
|
|||||||
Reference in New Issue
Block a user