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

remove debug toString() methods now we have vimperator.logObject

This commit is contained in:
Doug Kearns
2007-08-04 12:35:25 +00:00
parent b83977981b
commit fd0b40e8fc
3 changed files with 2 additions and 52 deletions

View File

@@ -120,21 +120,7 @@ Command.prototype.hasName = function(name)
}
return false;
}
Command.prototype.toString = function()
{
return "Command {" +
"\n\tname: " + this.name +
"\n\tnames: " + this.names +
"\n\tshort_names: " + this.short_names +
"\n\tlong_names: " + this.long_names +
"\n\tusage: " + this.usage +
"\n\tshort_help: " + this.short_help +
"\n\thelp: " + this.help +
"\n\taction: " + this.action +
"\n\tcompleter: " + this.completer +
"\n}"
} //}}}
//}}}
function Commands() //{{{
{