Use _.difference instead of _.without.apply(_, …) in test and build files.

Former-commit-id: 5646e8c3e895ea0662df81e7c77e70cdfe2c3a6d
This commit is contained in:
John-David Dalton
2013-06-23 22:34:05 -07:00
parent e209fedb27
commit 54a2a0da48
3 changed files with 16 additions and 16 deletions

View File

@@ -3697,7 +3697,7 @@
return /^_/.test(methodName);
});
var funcs = _.without.apply(_, [allMethods].concat([
var funcs = _.difference(allMethods, [
'after',
'bind',
'bindAll',
@@ -3713,7 +3713,7 @@
'tap',
'throttle',
'wrap'
]));
]);
_.each(funcs, function(methodName) {
var actual = [],