mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-02 23:03:42 +02:00
Death to for each.
This commit is contained in:
@@ -204,11 +204,11 @@ var Highlights = Module("Highlight", {
|
||||
node.setAttributeNS(NS, "highlight", group);
|
||||
|
||||
let groups = group.split(" ");
|
||||
for each (let group in groups)
|
||||
for (let group of groups)
|
||||
this.loaded[group] = true;
|
||||
|
||||
if (applyBindings)
|
||||
for each (let group in groups) {
|
||||
for (let group of groups) {
|
||||
if (applyBindings.bindings && group in applyBindings.bindings)
|
||||
applyBindings.bindings[group](node, applyBindings);
|
||||
else if (group in template.bindings)
|
||||
|
||||
Reference in New Issue
Block a user