mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:52:32 +02:00
Fix mappings.iterate.
This commit is contained in:
1 parent
de2655ce01
commit
162d9122b2
1 file changed
+1
-1
@@ -304,7 +304,7 @@ var Mappings = Module("mappings", {
|
||||
iterate: function (mode) {
|
||||
let seen = {};
|
||||
for (let hive in this.hives.iterValues())
|
||||
for (let map in hive.getStack(mode).iterValues())
|
||||
for (let map in array(hive.getStack(mode)).iterValues())
|
||||
if (!set.add(seen, map.name))
|
||||
yield map;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user