1
0
Fork 0
forked from 0x2620/oxjs

use [].concat, not Ox.merge

This commit is contained in:
rolux 2012-05-24 09:45:33 +02:00
commit 1c40fb007b
27 changed files with 87 additions and 90 deletions

View file

@ -193,7 +193,7 @@ Ox.Log = (function() {
return log.filter;
};
that.filter.add = function(val) {
return that.filter(Ox.unique(Ox.merge(log.filter, Ox.makeArray(val))));
return that.filter(Ox.unique(log.filter.concat(Ox.makeArray(val))));
};
that.filter.disable = function() {
log.filterEnabled = false;