All new
alle new
This commit is contained in:
1 parent
da64472251
commit
5b20adee48
1605 files changed
+396517
-1674
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
define(['./find', './matcher'], function (find, matcher) {
|
||||
|
||||
// Convenience version of a common use case of `_.find`: getting the first
|
||||
// object containing specific `key:value` pairs.
|
||||
function findWhere(obj, attrs) {
|
||||
return find(obj, matcher(attrs));
|
||||
}
|
||||
|
||||
return findWhere;
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user