mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Merge branch 'master' of http://github.com/ryantenney/underscore
This commit is contained in:
@@ -542,8 +542,8 @@
|
|||||||
// One is falsy and the other truthy.
|
// One is falsy and the other truthy.
|
||||||
if ((!a && b) || (a && !b)) return false;
|
if ((!a && b) || (a && !b)) return false;
|
||||||
// Unwrap any wrapped objects.
|
// Unwrap any wrapped objects.
|
||||||
if (a._chain) a = a.value();
|
if (a._chain) a = a._wrapped;
|
||||||
if (b._chain) b = b.value();
|
if (b._chain) b = b._wrapped;
|
||||||
// One of them implements an isEqual()?
|
// One of them implements an isEqual()?
|
||||||
if (a.isEqual) return a.isEqual(b);
|
if (a.isEqual) return a.isEqual(b);
|
||||||
// Check dates' integer values.
|
// Check dates' integer values.
|
||||||
|
|||||||
Reference in New Issue
Block a user