_.where should perform a partial comparison of *all* objects within arrays of source. [closes #536]

This commit is contained in:
John-David Dalton
2014-04-29 09:28:56 -07:00
parent c59f8c734a
commit 5c9e4685db
2 changed files with 16 additions and 3 deletions

View File

@@ -1720,6 +1720,9 @@
break;
}
}
if (!result) {
break;
}
} else if (!(result = baseIsEqual(value[size], othValue, callback, isWhere, stackA, stackB))) {
break;
}