1
0
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:
Doug Kearns
2008-08-14 08:24:02 +00:00
parent 00f8ed632e
commit a234aa747e
12 changed files with 97 additions and 33 deletions

View File

@@ -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" });
}
/////////////////////////////////////////////////////////////////////////////}}}