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