mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 21:54:13 +01:00
Clean up some old-style iterator gunk.
This commit is contained in:
@@ -510,7 +510,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (acc.length == patterns.length)
|
||||
res.push(array(substrings).zip(acc).flatten().join(""));
|
||||
else
|
||||
for (let [, pattern] of Iterator(patterns[acc.length]))
|
||||
for (let pattern of patterns[acc.length])
|
||||
rec(acc.concat(pattern));
|
||||
};
|
||||
rec([]);
|
||||
|
||||
Reference in New Issue
Block a user