Bump to v4.11.2.

This commit is contained in:
John-David Dalton
2016-04-19 22:17:16 -07:00
parent 29c408ee8a
commit ccdfca5392
86 changed files with 714 additions and 447 deletions

4
max.js
View File

@@ -1,4 +1,4 @@
define(['./_baseExtremum', './gt', './identity'], function(baseExtremum, gt, identity) {
define(['./_baseExtremum', './_baseGt', './identity'], function(baseExtremum, baseGt, identity) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
@@ -23,7 +23,7 @@ define(['./_baseExtremum', './gt', './identity'], function(baseExtremum, gt, ide
*/
function max(array) {
return (array && array.length)
? baseExtremum(array, identity, gt)
? baseExtremum(array, identity, baseGt)
: undefined;
}