mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
make use of our argsParser to handle commands with zero arguments
This commit is contained in:
@@ -178,7 +178,11 @@ liberator.Editor = function () //{{{
|
||||
|
||||
liberator.commands.add([ch + "abc[lear]"],
|
||||
"Remove all abbreviations" + modeDescription,
|
||||
function (args) { liberator.editor.removeAllAbbreviations(mode); });
|
||||
function ()
|
||||
{
|
||||
liberator.editor.removeAllAbbreviations(mode);
|
||||
},
|
||||
{ argCount: "0" });
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////}}}
|
||||
|
||||
Reference in New Issue
Block a user