mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Bump to v3.1.0.
This commit is contained in:
committed by
John-David Dalton
parent
3b2df88eab
commit
1608d89174
@@ -1,4 +1,4 @@
|
||||
define(['./find', '../utility/matches'], function(find, matches) {
|
||||
define(['../internal/baseMatches', './find'], function(baseMatches, find) {
|
||||
|
||||
/**
|
||||
* Performs a deep comparison between each element in `collection` and the
|
||||
@@ -25,7 +25,7 @@ define(['./find', '../utility/matches'], function(find, matches) {
|
||||
* // => 'fred'
|
||||
*/
|
||||
function findWhere(collection, source) {
|
||||
return find(collection, matches(source));
|
||||
return find(collection, baseMatches(source));
|
||||
}
|
||||
|
||||
return findWhere;
|
||||
|
||||
Reference in New Issue
Block a user