1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 10:24:11 +01:00

[bootstrap] Add a :rehash (temporarily undocumented) command.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-25 09:46:07 -05:00
parent a759ab3606
commit 8da718d47b
5 changed files with 23 additions and 3 deletions

View File

@@ -1865,10 +1865,13 @@ const Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
bang: true
});
commands.add(["reh[ash]"],
"Reload the " + config.appName + " add-on",
function () { util.rehash(); });
commands.add(["res[tart]"],
"Force " + config.appName + " to restart",
function () { dactyl.restart(); },
{ argCount: "0" });
function () { dactyl.restart(); });
var toolbox = document.getElementById("navigator-toolbox");
if (toolbox) {