1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 13:34:13 +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) {
const { dactyl, events } = this.modules;
const { dactyl, events, modules } = this.modules;
let process = util.identity;
@@ -362,9 +362,9 @@ var Contexts = Module("contexts", {
action.macro = util.compileMacro(rhs, true);
break;
case "-ex":
action = function action() this.modules.commands
.execute(action.macro, makeParams(this, arguments),
false, null, action.context);
action = function action() modules.commands
.execute(action.macro, makeParams(this, arguments),
false, null, action.context);
action.macro = util.compileMacro(rhs, true);
action.context = this.context && update({}, this.context);
break;