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

Death to E4X and stuff.

This commit is contained in:
Kris Maglione
2012-12-17 18:56:36 -08:00
parent 0d179d78bc
commit 3f483de547
24 changed files with 112 additions and 517 deletions

View File

@@ -19,7 +19,7 @@ lazyRequire("commands", ["Commands"]);
lazyRequire("completion", ["CompletionContext"]);
lazyRequire("prefs", ["prefs"]);
lazyRequire("styles", ["Styles"]);
lazyRequire("template", ["template", "template_"]);
lazyRequire("template", ["template"]);
/** @scope modules */
@@ -874,18 +874,18 @@ var Options = Module("options", {
}
else if (isArray(opt.value) && opt.type != "charlist")
option.value = ["", "=",
template_.map(opt.value,
function (v) template_.highlight(String(v)),
["", ",",
["span", { style: "width: 0; display: inline-block" }, " "]])];
template.map(opt.value,
function (v) template.highlight(String(v)),
["", ",",
["span", { style: "width: 0; display: inline-block" }, " "]])];
else
option.value = ["", "=", template_.highlight(opt.stringValue)];
option.value = ["", "=", template.highlight(opt.stringValue)];
yield option;
}
};
modules.commandline.commandOutput(
template_.options("Options", opts.call(this), this["verbose"] > 0));
template.options("Options", opts.call(this), this["verbose"] > 0));
},
cleanup: function cleanup() {
@@ -1082,7 +1082,7 @@ var Options = Module("options", {
? ["span", { highlight: "URLExtra" },
"(" + _("option.bufferLocal") + ")"]
: "",
template_.linkifyHelp(opt.description)
template.linkifyHelp(opt.description)
],
help: function (opt) "'" + opt.name + "'"
}