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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user