Ensure _.conforms functions return true when comparing an empty source.

This commit is contained in:
John-David Dalton
2015-10-25 12:42:58 -07:00
parent 436d64f881
commit 66d72345f2
2 changed files with 47 additions and 1 deletions

View File

@@ -2198,7 +2198,7 @@
return function(object) {
if (object == null) {
return false;
return !length;
}
var index = length;
while (index--) {