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:
@@ -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 //////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user