mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Fix DOMException in _.merge. [closes #895]
This commit is contained in:
@@ -2537,6 +2537,9 @@
|
|||||||
? toPlainObject(value)
|
? toPlainObject(value)
|
||||||
: (isPlainObject(value) ? value : {});
|
: (isPlainObject(value) ? value : {});
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
isCommon = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Add the source value to the stack of traversed objects and associate
|
// Add the source value to the stack of traversed objects and associate
|
||||||
// it with its merged value.
|
// it with its merged value.
|
||||||
|
|||||||
Reference in New Issue
Block a user