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

Clean up so loose ends from the recent Command#execute refactoring.

This fixes [count]u.

--HG--
extra : rebase_source : a453a99a757e434b6ce1758320d5840d8286002e
This commit is contained in:
Doug Kearns
2010-09-26 01:57:54 +10:00
parent 978604a060
commit 8fdb8abd49
4 changed files with 5 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ const Browser = Module("browser", {
mappings.add([modes.NORMAL], ["<C-l>"],
"Redraw the screen",
function () { commands.get("redraw").execute("", false); });
function () { dactyl.execute("redraw"); });
},
commands: function () {
@@ -186,9 +186,8 @@ const Browser = Module("browser", {
commands.add(["redr[aw]"],
"Redraw the screen",
function () {
let wu = window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils);
wu.redraw();
window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils).redraw();
modes.show();
},
{ argCount: "0" });