1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48: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

@@ -211,7 +211,7 @@ liberator.Mappings = function () //{{{
liberator.commands.add([ch + "mapc[lear]"],
"Remove all mappings" + modeDescription,
function (args)
function ()
{
for (let i = 0; i < modes.length; i++)
liberator.mappings.removeAll(modes[i]);