Remove unused fork in baseAssign and baseMerge.

This commit is contained in:
John-David Dalton
2014-05-30 14:58:47 -04:00
parent fcc357ddd1
commit e259f300b1

View File

@@ -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),