Fix _.isMatchWith test fail.

This commit is contained in:
John-David Dalton
2015-08-19 21:56:08 -07:00
parent 8fd2f0ae11
commit efdb254b12

View File

@@ -2150,8 +2150,11 @@
return false;
}
} else {
var result = customizer ? customizer(objValue, srcValue, key, object, source) : undefined;
if (!(result === undefined ? baseIsEqual(srcValue, objValue, customizer, true) : result)) {
var stackA = [],
stackB = [],
result = customizer ? customizer(objValue, srcValue, key, object, source, stackA, stackB) : undefined;
if (!(result === undefined ? baseIsEqual(srcValue, objValue, customizer, true, stackA, stackB) : result)) {
return false;
}
}