1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:42:27 +01:00

Remove some dump statements

This commit is contained in:
Kris Maglione
2008-11-28 14:02:16 +00:00
parent c56dfe137d
commit a7ca55a87d

View File

@@ -473,7 +473,6 @@ function Commands() //{{{
resetCompletions(); resetCompletions();
var sub = str.substr(i); var sub = str.substr(i);
//liberator.dump(i + ": " + sub + " - " + onlyArgumentsRemaining + "\n");
if ((!onlyArgumentsRemaining) && /^--(\s|$)/.test(sub)) if ((!onlyArgumentsRemaining) && /^--(\s|$)/.test(sub))
{ {
onlyArgumentsRemaining = true; onlyArgumentsRemaining = true;
@@ -531,12 +530,9 @@ function Commands() //{{{
let type = argTypes[opt[1]]; let type = argTypes[opt[1]];
if (type && (!complete || arg != null)) if (type && (!complete || arg != null))
{ {
liberator.dump("arg: " + arg);
arg = type.parse(arg); arg = type.parse(arg);
liberator.dump("arg: " + arg);
if (arg == null || (typeof arg == "number" && isNaN(arg))) if (arg == null || (typeof arg == "number" && isNaN(arg)))
{ {
liberator.dump("arg: " + arg);
echoerr("Invalid argument for " + type.description + " option: " + optname); echoerr("Invalid argument for " + type.description + " option: " + optname);
if (complete) if (complete)
complete.highlight(args.completeStart, count - 1, "SPELLCHECK"); complete.highlight(args.completeStart, count - 1, "SPELLCHECK");