underscore-source 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|
|