1
0
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:
Doug Kearns
2010-09-26 11:54:28 +10:00
parent 883c0c367d
commit 87b29aa609
11 changed files with 22 additions and 22 deletions

View File

@@ -548,7 +548,7 @@ const Util = Module("Util", {
if (color)
return <span highlight="HelpXMLBlock"><span highlight="HelpXMLTagStart">&lt;{
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) {