Bump to v3.9.0.

This commit is contained in:
jdalton
2015-05-17 22:50:59 -07:00
parent d7b2bedafc
commit 30daf83737
89 changed files with 527 additions and 567 deletions

View File

@@ -1,5 +1,5 @@
import arrayMax from '../internal/arrayMax';
import createExtremum from '../internal/createExtremum';
import gt from '../lang/gt';
/**
* Gets the maximum value of `collection`. If `collection` is empty or falsey
@@ -48,6 +48,6 @@ import createExtremum from '../internal/createExtremum';
* _.max(users, 'age');
* // => { 'user': 'fred', 'age': 40 }
*/
var max = createExtremum(arrayMax);
var max = createExtremum(gt, -Infinity);
export default max;

View File

@@ -1,5 +1,5 @@
import arrayMin from '../internal/arrayMin';
import createExtremum from '../internal/createExtremum';
import lt from '../lang/lt';
/**
* Gets the minimum value of `collection`. If `collection` is empty or falsey
@@ -48,6 +48,6 @@ import createExtremum from '../internal/createExtremum';
* _.min(users, 'age');
* // => { 'user': 'barney', 'age': 36 }
*/
var min = createExtremum(arrayMin, true);
var min = createExtremum(lt, Infinity);
export default min;