1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 03:44:10 +01:00

Get rid of more deprecated Set method calls.

This commit is contained in:
Kris Maglione
2014-02-22 10:23:22 -08:00
parent 2277a5b238
commit c59f873634
2 changed files with 8 additions and 6 deletions

View File

@@ -677,8 +677,8 @@ var Option = Class("Option", {
values = Array.concat(values);
function uniq(ary) {
let seen = {};
return ary.filter(elem => !Set.add(seen, elem));
let seen = RealSet();
return ary.filter(elem => !seen.add(elem));
}
switch (operator) {