mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:27:59 +01:00
More lazy instantiation. Look out for breakage.
This commit is contained in:
@@ -660,7 +660,7 @@ var Options = Module("options", {
|
||||
if (!extraInfo)
|
||||
extraInfo = {};
|
||||
|
||||
extraInfo.definedAt = commands.getCaller(Components.stack.caller);
|
||||
extraInfo.definedAt = Commands.getCaller(Components.stack.caller);
|
||||
|
||||
let name = names[0];
|
||||
if (name in this._optionMap) {
|
||||
@@ -973,7 +973,7 @@ var Options = Module("options", {
|
||||
}
|
||||
if (res)
|
||||
dactyl.echoerr(res);
|
||||
option.setFrom = commands.getCaller(null);
|
||||
option.setFrom = Commands.getCaller(null);
|
||||
}
|
||||
}
|
||||
flushList();
|
||||
|
||||
Reference in New Issue
Block a user