1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 10:24:11 +01:00

Fix more temporal dead zone fallout in contexts.bindMacro.

Fixes issue #1230.
This commit is contained in:
Doug Kearns
2014-10-28 22:44:37 +11:00
parent 73ac2af724
commit 8da04c5c1a

View File

@@ -512,10 +512,11 @@ var Contexts = Module("contexts", {
let rhs = args.literalArg;
let type = ["-builtin", "-ex", "-javascript", "-keys"].reduce((a, b) => args[b] ? b : a, default_);
let noremap = false;
switch (type) {
case "-builtin":
let noremap = true;
noremap = true;
/* fallthrough */
case "-keys":
let silent = args["-silent"];