Bump to v4.11.2.

This commit is contained in:
John-David Dalton
2016-04-19 22:21:01 -07:00
parent 692aabae13
commit 35805ec250
87 changed files with 342 additions and 163 deletions

View File

@@ -1,6 +1,6 @@
import baseExtremum from './_baseExtremum';
import baseGt from './_baseGt';
import baseIteratee from './_baseIteratee';
import gt from './gt';
/**
* This method is like `_.max` except that it accepts `iteratee` which is
@@ -28,7 +28,7 @@ import gt from './gt';
*/
function maxBy(array, iteratee) {
return (array && array.length)
? baseExtremum(array, baseIteratee(iteratee), gt)
? baseExtremum(array, baseIteratee(iteratee), baseGt)
: undefined;
}