1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 20:15:46 +01:00

Fix brokenness.

This commit is contained in:
Kris Maglione
2015-02-25 12:10:35 -08:00
parent a8b1b278e2
commit e819e7616d
4 changed files with 11 additions and 5 deletions

View File

@@ -1724,7 +1724,7 @@ update(iter, {
const Iter = Class("Iter", {
init: function init(iter) {
this.iter = iter;
if ("__iterator__" in iter)
if (!(Symbol.iterator in iter) && "__iterator__" in iter)
this.iter = iter.__iterator__();
if (this.iter.finalize)