mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Allow findWhere to be included as a lodash method in test-build.js.
Former-commit-id: b69a12bac6a1a91716e4665dad39cafbaa8f88c8
This commit is contained in:
@@ -94,9 +94,6 @@
|
||||
return !/^_/.test(methodName);
|
||||
});
|
||||
|
||||
/** List of all Lo-Dash methods */
|
||||
var lodashMethods = _.without(allMethods, 'findWhere');
|
||||
|
||||
/** List of "Arrays" category methods */
|
||||
var arraysMethods = [
|
||||
'compact',
|
||||
@@ -321,6 +318,10 @@
|
||||
'unzip'
|
||||
];
|
||||
|
||||
|
||||
/** List of all Lo-Dash methods */
|
||||
var lodashMethods = allMethods.slice();
|
||||
|
||||
/** List of Underscore methods */
|
||||
var underscoreMethods = _.without.apply(_, [allMethods].concat(lodashOnlyMethods));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user