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

Fix botched patch.

This commit is contained in:
Kris Maglione
2011-02-11 04:57:19 -05:00
parent c1f91ccc95
commit 98e5b79d7b

View File

@@ -335,7 +335,7 @@ var Contexts = Module("contexts", {
}, },
bindMacro: function (args, default_, params) { bindMacro: function (args, default_, params) {
const { dactyl, events } = this.modules; const { dactyl, events, modules } = this.modules;
let process = util.identity; let process = util.identity;
@@ -362,9 +362,9 @@ var Contexts = Module("contexts", {
action.macro = util.compileMacro(rhs, true); action.macro = util.compileMacro(rhs, true);
break; break;
case "-ex": case "-ex":
action = function action() this.modules.commands action = function action() modules.commands
.execute(action.macro, makeParams(this, arguments), .execute(action.macro, makeParams(this, arguments),
false, null, action.context); false, null, action.context);
action.macro = util.compileMacro(rhs, true); action.macro = util.compileMacro(rhs, true);
action.context = this.context && update({}, this.context); action.context = this.context && update({}, this.context);
break; break;