mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 01:15:45 +01:00
Clean up some old-style iterator gunk.
This commit is contained in:
@@ -588,7 +588,7 @@ var RangeFind = Class("RangeFind", {
|
||||
|
||||
let anonNodes = doc.getAnonymousNodes(doc.documentElement);
|
||||
if (anonNodes) {
|
||||
for (let [, elem] of iter(anonNodes)) {
|
||||
for (let elem of anonNodes) {
|
||||
let range = RangeFind.nodeContents(elem);
|
||||
pushRange(RangeFind.endpoint(range, true), RangeFind.endpoint(range, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user