Bump to v4.0.0.

This commit is contained in:
John-David Dalton
2015-09-17 17:52:09 -07:00
parent 1d77dfa4b7
commit 54e7baecc3
675 changed files with 11257 additions and 8085 deletions

View File

@@ -1,9 +1,9 @@
import baseCopy from './baseCopy';
import keys from '../object/keys';
import copyObject from './copyObject';
import keys from '../keys';
/**
* The base implementation of `_.assign` without support for argument juggling,
* multiple sources, and `customizer` functions.
* The base implementation of `_.assign` without support for multiple sources
* or `customizer` functions.
*
* @private
* @param {Object} object The destination object.
@@ -11,9 +11,7 @@ import keys from '../object/keys';
* @returns {Object} Returns `object`.
*/
function baseAssign(object, source) {
return source == null
? object
: baseCopy(source, keys(source), object);
return object && copyObject(source, keys(source), object);
}
export default baseAssign;