1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:07:59 +01:00

move global restart() command to a vimperator slot

This commit is contained in:
Doug Kearns
2007-07-02 11:34:00 +00:00
parent dabfba6c06
commit a911cadb76

View File

@@ -617,7 +617,7 @@ function Commands() //{{{
} }
)); ));
addDefaultCommand(new Command(["res[tart]"], addDefaultCommand(new Command(["res[tart]"],
restart, function() { vimperator.restart(); },
{ {
usage: ["res[tart]"], usage: ["res[tart]"],
short_help: "Force the browser to restart", short_help: "Force the browser to restart",
@@ -1582,7 +1582,7 @@ function reload_all(bypass_cache)
} }
} }
function restart() Vimperator.prototype.restart = function()
{ {
// if (!arguments[1]) return; // if (!arguments[1]) return;
const nsIAppStartup = Components.interfaces.nsIAppStartup; const nsIAppStartup = Components.interfaces.nsIAppStartup;