Remove the _.isEqual dependency from createCallback in the underscore build and avoid potentially unnecessary string coercion in the underscore build _.isEqual method.

Former-commit-id: 1e8ce4fd9a35ad36c2b24457e519cb587c49c93b
This commit is contained in:
John-David Dalton
2013-03-18 03:06:01 -06:00
parent 4e2ef908dc
commit ba85d5d351
2 changed files with 3 additions and 2 deletions

View File

@@ -1037,7 +1037,7 @@
case regexpClass:
case stringClass:
return a == b + '';
return a == String(b);
}
var isArr = className == arrayClass;
if (!isArr) {