mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:28:01 +01:00
declare some undeclared variables in parseOpt and whitespace fixes
This commit is contained in:
@@ -866,12 +866,17 @@ function Completion() //{{{
|
||||
return mapped;
|
||||
};
|
||||
|
||||
try {
|
||||
if (tail)
|
||||
return [dir.length, this.cached("file-" + dir, compl, generate, "filter", [true])];
|
||||
else
|
||||
return [0, this.cached("file", filter, generate, "filter", [true])];
|
||||
}catch(e){liberator.dump(e)}
|
||||
try
|
||||
{
|
||||
if (tail)
|
||||
return [dir.length, this.cached("file-" + dir, compl, generate, "filter", [true])];
|
||||
else
|
||||
return [0, this.cached("file", filter, generate, "filter", [true])];
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
liberator.dump(e);
|
||||
}
|
||||
},
|
||||
|
||||
help: function help(filter)
|
||||
|
||||
Reference in New Issue
Block a user