Rebuild dist.

This commit is contained in:
John-David Dalton
2014-04-27 11:44:11 -07:00
parent 754bafc069
commit ce7cb16cfe
6 changed files with 75 additions and 57 deletions

View File

@@ -853,15 +853,15 @@
}
var isArr = valClass == arrayClass;
if (!isArr) {
if (valClass != objectClass) {
return false;
}
var valWrapped = value instanceof lodash,
othWrapped = other instanceof lodash;
if (valWrapped || othWrapped) {
return baseIsEqual(valWrapped ? value.__wrapped__ : value, othWrapped ? other.__wrapped__ : other, stackA, stackB);
}
if (valClass != objectClass) {
return false;
}
var hasValCtor = hasOwnProperty.call(value, 'constructor'),
hasOthCtor = hasOwnProperty.call(other, 'constructor');
@@ -1749,11 +1749,11 @@
/**
* Creates a duplicate-value-free version of an array using strict equality
* for comparisons, i.e. `===`. If the array is sorted, providing
* `true` for `isSorted` will use a faster algorithm. If a callback is provided
* each element of `array` is passed through the callback before uniqueness
* is computed. The callback is bound to `thisArg` and invoked with three
* arguments; (value, index, array).
* for comparisons, i.e. `===`. If the array is sorted, providing `true` for
* `isSorted` will use a faster algorithm. If a callback is provided it will
* be executed for each value in the array to generate the criterion by which
* uniqueness is computed. The callback is bound to `thisArg` and invoked with
* three arguments; (value, index, array).
*
* If a property name is provided for `callback` the created "_.pluck" style
* callback will return the property value of the given element.
@@ -2531,6 +2531,9 @@
* _.max([4, 2, 8, 6]);
* // => 8
*
* _.max([]);
* // => -Infinity
*
* var characters = [
* { 'name': 'barney', 'age': 36 },
* { 'name': 'fred', 'age': 40 }
@@ -2567,7 +2570,7 @@
baseEach(collection, function(value, index, collection) {
var current = callback(value, index, collection);
if (current > computed) {
if (current > computed || (current === -Infinity && current === result)) {
computed = current;
result = value;
}
@@ -2604,6 +2607,9 @@
* _.min([4, 2, 8, 6]);
* // => 2
*
* _.min([]);
* // => Infinity
*
* var characters = [
* { 'name': 'barney', 'age': 36 },
* { 'name': 'fred', 'age': 40 }
@@ -2640,7 +2646,7 @@
baseEach(collection, function(value, index, collection) {
var current = callback(value, index, collection);
if (current < computed) {
if (current < computed || (current === Infinity && current === result)) {
computed = current;
result = value;
}