1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-20 17:45:45 +01:00

Fix :set foo?.

This commit is contained in:
Kris Maglione
2011-02-12 12:36:18 -05:00
parent 127ed4cfc2
commit d86cb2b3df

View File

@@ -685,7 +685,7 @@ var Options = Module("options", {
scope = Option.SCOPE_BOTH; scope = Option.SCOPE_BOTH;
function opts(opt) { function opts(opt) {
for (let opt in Iterator(options)) { for (let opt in Iterator(this)) {
let option = { let option = {
__proto__: opt, __proto__: opt,
isDefault: opt.isDefault, isDefault: opt.isDefault,
@@ -712,7 +712,7 @@ var Options = Module("options", {
} }
}; };
modules.commandline.commandOutput(template.options("Options", opts(), options["verbose"] > 0)); modules.commandline.commandOutput(template.options("Options", opts.call(this), this["verbose"] > 0));
}, },
cleanup: function cleanup() { cleanup: function cleanup() {