Make _.where return all elements when the props object is empty.

This commit is contained in:
John-David Dalton
2014-04-04 09:16:59 -07:00
parent ff9aecca48
commit cff83e095a
6 changed files with 11 additions and 9 deletions

View File

@@ -7788,7 +7788,7 @@
}
return function(object) {
var length = propsLength,
result = false;
result = true;
while (length--) {
var key = props[length];