mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 07:57:59 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -1578,7 +1578,7 @@ var CommandLine = Module("commandline", {
|
||||
else if (callable(arg))
|
||||
arg = String.replace(arg, "/* use strict */ \n", "/* use strict */ ");
|
||||
else if (!isString(arg) && useColor)
|
||||
arg = template_.highlight(arg);
|
||||
arg = template.highlight(arg);
|
||||
return arg;
|
||||
}
|
||||
}, {
|
||||
@@ -1621,7 +1621,7 @@ var CommandLine = Module("commandline", {
|
||||
}
|
||||
else if (commandline._messageHistory.length > 1) {
|
||||
commandline.commandOutput(
|
||||
template_.map(commandline._messageHistory.messages, function (message)
|
||||
template.map(commandline._messageHistory.messages, function (message)
|
||||
["div", { highlight: message.highlight + " Message" },
|
||||
message.message]));
|
||||
}
|
||||
@@ -1894,7 +1894,7 @@ var ItemList = Class("ItemList", {
|
||||
["div", { key: "completions" }]],
|
||||
|
||||
["div", { highlight: "Completions" },
|
||||
template_.map(util.range(0, options["maxitems"] * 2), function (i)
|
||||
template.map(util.range(0, options["maxitems"] * 2), function (i)
|
||||
["div", { highlight: "CompItem NonText" },
|
||||
"~"])]],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user