underscore-source 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,7 @@
|
|
55
55
|
root._ = _;
|
56
56
|
|
57
57
|
// Current version.
|
58
|
-
_.VERSION = '1.0.
|
58
|
+
_.VERSION = '1.0.1';
|
59
59
|
|
60
60
|
// ------------------------ Collection Functions: ---------------------------
|
61
61
|
|
@@ -485,7 +485,7 @@
|
|
485
485
|
// Different object sizes?
|
486
486
|
if (aKeys.length != bKeys.length) return false;
|
487
487
|
// Recursive comparison of contents.
|
488
|
-
for (var key in a) if (!_.isEqual(a[key], b[key])) return false;
|
488
|
+
for (var key in a) if (!(key in b) || !_.isEqual(a[key], b[key])) return false;
|
489
489
|
return true;
|
490
490
|
};
|
491
491
|
|