Bump to v3.7.0.

This commit is contained in:
jdalton
2015-04-15 20:56:31 -07:00
parent 801ffd8adf
commit 5eb8db31d7
121 changed files with 897 additions and 413 deletions

View File

@@ -1,3 +1,7 @@
/* Native method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max,
nativeMin = Math.min;
/**
* Checks if `n` is between `start` and up to but not including, `end`. If
* `end` is not specified it is set to `start` with `start` then set to `0`.
@@ -37,7 +41,7 @@ function inRange(value, start, end) {
} else {
end = +end || 0;
}
return value >= start && value < end;
return value >= nativeMin(start, end) && value < nativeMax(start, end);
}
export default inRange;