Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -2,7 +2,7 @@ import baseMerge from './_baseMerge.js';
import createAssigner from './_createAssigner.js';
/**
* This method is like `_.merge` except that it accepts `customizer` which
* This method is like `merge` except that it accepts `customizer` which
* is invoked to produce the merged values of the destination and source
* properties. If `customizer` returns `undefined`, merging is handled by the
* method instead. The `customizer` is invoked with six arguments:
@@ -11,7 +11,6 @@ import createAssigner from './_createAssigner.js';
* **Note:** This method mutates `object`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Object
* @param {Object} object The destination object.
@@ -21,7 +20,7 @@ import createAssigner from './_createAssigner.js';
* @example
*
* function customizer(objValue, srcValue) {
* if (_.isArray(objValue)) {
* if (isArray(objValue)) {
* return objValue.concat(srcValue);
* }
* }
@@ -29,7 +28,7 @@ import createAssigner from './_createAssigner.js';
* var object = { 'a': [1], 'b': [2] };
* var other = { 'a': [3], 'b': [4] };
*
* _.mergeWith(object, other, customizer);
* mergeWith(object, other, customizer);
* // => { 'a': [1, 3], 'b': [2, 4] }
*/
const mergeWith = createAssigner((object, source, srcIndex, customizer) => {