mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Remove unused fork in baseAssign and baseMerge.
This commit is contained in:
@@ -1138,9 +1138,6 @@
|
||||
* @returns {Object} Returns the destination object.
|
||||
*/
|
||||
function baseAssign(object, source, callback) {
|
||||
if (!object) {
|
||||
return object;
|
||||
}
|
||||
var index = -1,
|
||||
props = keys(source),
|
||||
length = props.length;
|
||||
@@ -1959,9 +1956,6 @@
|
||||
* @returns {Object} Returns the destination object.
|
||||
*/
|
||||
function baseMerge(object, source, callback, stackA, stackB) {
|
||||
if (!object) {
|
||||
return object;
|
||||
}
|
||||
(isArrayLike(source) ? arrayEach : baseForOwn)(source, function(srcValue, key, source) {
|
||||
var isArr = srcValue && isArrayLike(srcValue),
|
||||
isObj = srcValue && isPlainObject(srcValue),
|
||||
|
||||
Reference in New Issue
Block a user