1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 18:27:57 +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() Command.prototype.toString = function()
{ {
// FIXME: -- djk
return "Command {" + return "Command {" +
"\nname: " + this.name + "\n\tname: " + this.name +
"\nnames: " + this.names + "\n\tnames: " + this.names +
"\nshort_names: " + this.short_names + "\n\tshort_names: " + this.short_names +
"\nlong_names: " + this.long_names + "\n\tlong_names: " + this.long_names +
"\nusage: " + this.usage + "\n\tusage: " + this.usage +
"\nshort_help: " + this.short_help + "\n\tshort_help: " + this.short_help +
"\nhelp: " + this.help + "\n\thelp: " + this.help +
"\naction: " + this.action + "\n\taction: " + this.action +
"\ncompleter: " + this.completer + "\n\tcompleter: " + this.completer +
"\n}" "\n}"
} }

View File

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