Sha256: 88c05474e3ee06e4d3e3531f4df2403718c47447827bfc3d5d735344b60db968

Contents?: true

Size: 470 Bytes

Versions: 292

Compression:

Stored size: 470 Bytes

Contents

var copyObject = require('./_copyObject'),
    keys = require('./keys');

/**
 * The base implementation of `_.assign` without support for multiple sources
 * or `customizer` functions.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @returns {Object} Returns `object`.
 */
function baseAssign(object, source) {
  return object && copyObject(source, keys(source), object);
}

module.exports = baseAssign;

Version data entries

292 entries across 268 versions & 32 rubygems

Version Path
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-function-name/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-define-map/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-call-delegate/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-generator/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-core/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-sticky-regex/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-regenerator/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-strict-mode/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-register/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-template/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-parameters/node_modules/lodash/_baseAssign.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/lodash/_baseAssign.js