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,12 +2,11 @@ import baseExtremum from './_baseExtremum.js';
import baseGt from './_baseGt.js';
/**
* This method is like `_.max` except that it accepts `iteratee` which is
* This method is like `max` except that it accepts `iteratee` which is
* invoked for each element in `array` to generate the criterion by which
* the value is ranked. The iteratee is invoked with one argument: (value).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Math
* @param {Array} array The array to iterate over.
@@ -17,7 +16,7 @@ import baseGt from './_baseGt.js';
*
* var objects = [{ 'n': 1 }, { 'n': 2 }];
*
* _.maxBy(objects, function(o) { return o.n; });
* maxBy(objects, function(o) { return o.n; });
* // => { 'n': 2 }
*/
function maxBy(array, iteratee) {