mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 11:18:00 +01:00
Whitespace fixes.
This commit is contained in:
@@ -149,7 +149,7 @@ Command.prototype = {
|
|||||||
* executed with a trailing !.
|
* executed with a trailing !.
|
||||||
* @param {number} count @deprecated Whether this command was
|
* @param {number} count @deprecated Whether this command was
|
||||||
* executed a leading count.
|
* executed a leading count.
|
||||||
* @param modifiers Any modifiers to be passed to
|
* @param modifiers Any modifiers to be passed to
|
||||||
* {@link action}
|
* {@link action}
|
||||||
*/
|
*/
|
||||||
execute: function (args, bang, count, modifiers)
|
execute: function (args, bang, count, modifiers)
|
||||||
@@ -856,7 +856,7 @@ function Commands() //{{{
|
|||||||
return completer.apply(this, Array.slice(arguments));
|
return completer.apply(this, Array.slice(arguments));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
completeFunc = function () completion[completeOptionMap[completeOpt]].apply(this, Array.slice(arguments));
|
completeFunc = function () completion[completeOptionMap[completeOpt]].apply(this, Array.slice(arguments));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
|||||||
|
|
||||||
/** @scope modules */
|
/** @scope modules */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new completion context.
|
* Creates a new completion context.
|
||||||
*
|
*
|
||||||
* @class A class to provide contexts for command completion.
|
* @class A class to provide contexts for command completion.
|
||||||
@@ -65,7 +65,7 @@ function CompletionContext(editor, name, offset) //{{{
|
|||||||
else
|
else
|
||||||
self.contexts[name] = this;
|
self.contexts[name] = this;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property {CompletionContext} This context's parent. {null} when this is a top-level context.
|
* @property {CompletionContext} This context's parent. {null} when this is a top-level context.
|
||||||
*/
|
*/
|
||||||
self.parent = parent;
|
self.parent = parent;
|
||||||
@@ -497,7 +497,7 @@ CompletionContext.prototype = {
|
|||||||
* advanced to match. If {@link #quote} is non-null, its prefix and suffix
|
* advanced to match. If {@link #quote} is non-null, its prefix and suffix
|
||||||
* are set to the null-string.
|
* are set to the null-string.
|
||||||
*
|
*
|
||||||
* This function is still imperfect for quoted strings. When
|
* This function is still imperfect for quoted strings. When
|
||||||
* {@link #quote} is non-null, it adjusts the count based on the quoted
|
* {@link #quote} is non-null, it adjusts the count based on the quoted
|
||||||
* size of the <b>count</b>-character substring of the filter, which is
|
* size of the <b>count</b>-character substring of the filter, which is
|
||||||
* accurate so long as unquoting and quoting a string will always map to
|
* accurate so long as unquoting and quoting a string will always map to
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ function Options() //{{{
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
////////////////////// PRIVATE SECTION /////////////////////////////////////////
|
////////////////////// PRIVATE SECTION /////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
const prefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
const prefService = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
|
||||||
|
|
||||||
const SAVED = "liberator.saved.";
|
const SAVED = "liberator.saved.";
|
||||||
|
|||||||
Reference in New Issue
Block a user