mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +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);
|
return !/^_/.test(methodName);
|
||||||
});
|
});
|
||||||
|
|
||||||
/** List of all Lo-Dash methods */
|
|
||||||
var lodashMethods = _.without(allMethods, 'findWhere');
|
|
||||||
|
|
||||||
/** List of "Arrays" category methods */
|
/** List of "Arrays" category methods */
|
||||||
var arraysMethods = [
|
var arraysMethods = [
|
||||||
'compact',
|
'compact',
|
||||||
@@ -321,6 +318,10 @@
|
|||||||
'unzip'
|
'unzip'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
/** List of all Lo-Dash methods */
|
||||||
|
var lodashMethods = allMethods.slice();
|
||||||
|
|
||||||
/** List of Underscore methods */
|
/** List of Underscore methods */
|
||||||
var underscoreMethods = _.without.apply(_, [allMethods].concat(lodashOnlyMethods));
|
var underscoreMethods = _.without.apply(_, [allMethods].concat(lodashOnlyMethods));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user