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

improve whitespace formatting of Command.toString

This commit is contained in:
Doug Kearns
2007-06-18 05:37:14 +00:00
parent fc7cae2575
commit 2c0a766b77
2 changed files with 9 additions and 11 deletions

View File

@@ -167,17 +167,16 @@ Command.prototype.hasName = function(name)
Command.prototype.toString = function()
{
// FIXME: -- djk
return "Command {" +
"\nname: " + this.name +
"\nnames: " + this.names +
"\nshort_names: " + this.short_names +
"\nlong_names: " + this.long_names +
"\nusage: " + this.usage +
"\nshort_help: " + this.short_help +
"\nhelp: " + this.help +
"\naction: " + this.action +
"\ncompleter: " + this.completer +
"\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}"
}

View File

@@ -46,7 +46,6 @@ Map.prototype.execute = function(motion, count, argument)
Map.prototype.toString = function()
{
// FIXME: -- djk
return "Map {" +
"\n\tmode: " + this.mode +
"\n\tnames: " + this.names +