mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 08:07:59 +01:00
Replace expression closures (command/option/mapping definitions).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -1382,7 +1382,9 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
|
||||
args.push(obj["file"]);
|
||||
return args;
|
||||
},
|
||||
has: function (key) util.compileMacro(this.value).seen.has(key),
|
||||
has: function (key) {
|
||||
return util.compileMacro(this.value).seen.has(key);
|
||||
},
|
||||
validator: function (value) {
|
||||
this.format({}, value);
|
||||
let allowed = new RealSet(["column", "file", "line"]);
|
||||
|
||||
Reference in New Issue
Block a user