mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
19
react-app/node_modules/lodash/internal/baseAssign.js
generated
vendored
Normal file
19
react-app/node_modules/lodash/internal/baseAssign.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
var baseCopy = require('./baseCopy'),
|
||||
keys = require('../object/keys');
|
||||
|
||||
/**
|
||||
* The base implementation of `_.assign` without support for argument juggling,
|
||||
* multiple sources, and `customizer` functions.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The destination object.
|
||||
* @param {Object} source The source object.
|
||||
* @returns {Object} Returns `object`.
|
||||
*/
|
||||
function baseAssign(object, source) {
|
||||
return source == null
|
||||
? object
|
||||
: baseCopy(source, keys(source), object);
|
||||
}
|
||||
|
||||
module.exports = baseAssign;
|
Reference in New Issue
Block a user