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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user