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

@@ -4,13 +4,12 @@ import castArrayLikeObject from './_castArrayLikeObject.js';
import last from './last.js';
/**
* This method is like `_.intersection` except that it accepts `comparator`
* This method is like `intersection` except that it accepts `comparator`
* which is invoked to compare elements of `arrays`. The order and references
* of result values are determined by the first array. The comparator is
* invoked with two arguments: (arrVal, othVal).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Array
* @param {...Array} [arrays] The arrays to inspect.
@@ -21,7 +20,7 @@ import last from './last.js';
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
* var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
*
* _.intersectionWith(objects, others, _.isEqual);
* intersectionWith(objects, others, isEqual);
* // => [{ 'x': 1, 'y': 2 }]
*/
function intersectionWith(...arrays) {