1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-25 04:15:44 +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

@@ -191,7 +191,11 @@ liberator.Search = function () //{{{
liberator.commands.add(["noh[lsearch]"],
"Remove the search highlighting",
function (args) { liberator.search.clear(); });
function ()
{
liberator.search.clear();
},
{ argCount: "0" });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////