1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 07:55:45 +01:00

Fix some Firefox version-specific brokenness.

This commit is contained in:
Kris Maglione
2010-11-07 07:33:25 -05:00
parent 21fe6d9fff
commit 506c684073
6 changed files with 8 additions and 16 deletions

View File

@@ -1132,7 +1132,7 @@ const array = Class("array", Array, {
uniq: function uniq(ary, unsorted) {
let ret = [];
if (unsorted) {
for (let [, item] in Iterator(ary))
for (let item in values(ary))
if (ret.indexOf(item) == -1)
ret.push(item);
}