1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 06:27:59 +01:00

Whitespace fixes.

This commit is contained in:
Doug Kearns
2010-09-24 16:26:08 +10:00
parent 904f3cb974
commit 0d2b1b6dfd
13 changed files with 41 additions and 41 deletions

View File

@@ -570,9 +570,9 @@ const Commands = Module("commands", {
if (!argCount)
argCount = "*";
var args = []; // parsed options
var args = []; // parsed options
args.__iterator__ = function () array.iteritems(this);
args.string = str; // for access to the unparsed string
args.string = str; // for access to the unparsed string
args.literalArg = "";
// FIXME!
@@ -712,7 +712,7 @@ const Commands = Module("commands", {
matchOpts(sub);
if (complete) {
if (argCount == "0" || args.length > 0 && (/[1?]/.test(argCount)))
if (argCount == "0" || args.length > 0 && (/[1?]/.test(argCount)))
complete.highlight(i, sub.length, "SPELLCHECK");
}
@@ -776,7 +776,7 @@ const Commands = Module("commands", {
fail("E471: Argument required");
}
else if (args.length == 1 && (argCount == "0") ||
args.length > 1 && /^[01?]$/.test(argCount))
args.length > 1 && /^[01?]$/.test(argCount))
fail("E488: Trailing characters");
return args;