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

rename Command's bangAllowed property to bang

This commit is contained in:
Doug Kearns
2008-10-04 16:48:32 +00:00
parent 7cd9f28279
commit 2ebb57fe93
11 changed files with 48 additions and 48 deletions

View File

@@ -78,7 +78,7 @@ liberator.Command = function (specs, description, action, extraInfo) //{{{
this.completer = extraInfo.completer || null;
this.hereDoc = extraInfo.hereDoc || false;
this.options = extraInfo.options || [];
this.bangAllowed = extraInfo.bangAllowed || false;
this.bang = extraInfo.bang || false;
this.isUserCommand = extraInfo.isUserCommand || false;
this.replacementText = extraInfo.replacementText || null;
@@ -701,7 +701,7 @@ liberator.Commands = function () //{{{
liberator.execute(replaced);
},
{
bangAllowed: true, // FIXME: until we implement -bang
bang: true, // FIXME: until we implement -bang
replacementText: rep
},
special)
@@ -729,7 +729,7 @@ liberator.Commands = function () //{{{
}
},
{
bangAllowed: true,
bang: true,
completer: function (filter) liberator.completion.userCommand(filter)
/*options: [[["-nargs"], OPTION_STRING, function (arg) { return /^(0|1|\*|\?|\+)$/.test(arg); }],
[["-bang"], OPTION_NOARG],