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