1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:57:58 +01:00

Remove 'for each' usage in shared globals.

This commit is contained in:
Kris Maglione
2011-10-25 21:22:31 -04:00
parent 19d74ecfff
commit efb39f26a8
2 changed files with 5 additions and 5 deletions

View File

@@ -1234,7 +1234,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
info.* = info.*.(function::attribute("lang").length() == 0 || @lang == lang);
for each (let elem in info.NS::info)
for each (let attr in ["@name", "@summary", "@href"])
for (let attr in values(["@name", "@summary", "@href"]))
if (elem[attr].length())
info[attr] = elem[attr];
}