1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 04:22:28 +01:00

Move util.Array to modules.Array_.

This commit is contained in:
Doug Kearns
2009-09-13 03:35:48 +10:00
parent a2a2f17e62
commit 7c66dc2b17
17 changed files with 68 additions and 69 deletions

View File

@@ -378,11 +378,11 @@ Option.prototype = {
switch (operator)
{
case "+":
newValue = util.Array.uniq(Array.concat(this.values, values), true);
newValue = Array_(this.values).concat(values).uniq(true);
break;
case "^":
// NOTE: Vim doesn't prepend if there's a match in the current value
newValue = util.Array.uniq(Array.concat(values, this.values), true);
newValue = Array_(values).concat(this.values).uniq(true);
break;
case "-":
newValue = this.values.filter(function (item) values.indexOf(item) == -1);