1
0
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:
Kris Maglione
2011-02-03 09:04:23 -05:00
parent 346cf2531a
commit 4a09c97eb1
10 changed files with 66 additions and 39 deletions

View File

@@ -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();