mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Ensure underscore build versions of _.where and _.findWhere align with Underscore 1.5.
Former-commit-id: 49653c65a29c5a9108630a38b80848b2e5596079
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -2431,7 +2431,7 @@
|
||||
*/
|
||||
function where(collection, properties, first) {
|
||||
return (first && isEmpty(properties))
|
||||
? null
|
||||
? undefined
|
||||
: (first ? find : filter)(collection, properties);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user