mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-11 22:15:45 +01:00
Camel-case array#{iteritems,itervalues}.
This commit is contained in:
@@ -548,7 +548,7 @@ const Util = Module("Util", {
|
||||
if (color)
|
||||
return <span highlight="HelpXMLBlock"><span highlight="HelpXMLTagStart"><{
|
||||
namespaced(elem)} {
|
||||
template.map(array.itervalues(elem.attributes),
|
||||
template.map(array.iterValues(elem.attributes),
|
||||
function (attr)
|
||||
<span highlight="HelpXMLAttribute">{namespaced(attr)}</span> +
|
||||
<span highlight="HelpXMLString">{attr.value}</span>,
|
||||
@@ -560,7 +560,7 @@ const Util = Module("Util", {
|
||||
|
||||
let tag = "<" + [namespaced(elem)].concat(
|
||||
[namespaced(a) + "=" + template.highlight(a.value, true)
|
||||
for ([i, a] in array.iteritems(elem.attributes))]).join(" ");
|
||||
for ([i, a] in array.iterItems(elem.attributes))]).join(" ");
|
||||
return tag + (hasChildren ? "/>" : ">...</" + namespaced(elem) + ">");
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user