Bump to v3.3.1.

This commit is contained in:
jdalton
2015-03-06 00:13:06 -08:00
committed by John-David Dalton
parent 343b869a68
commit 0423d77228
38 changed files with 136 additions and 116 deletions

View File

@@ -1,15 +1,19 @@
/**
* lodash 3.3.0 (Custom Build) <https://lodash.com/>
* lodash 3.3.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
/* 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 defaults to `start` with `start` becoming `0`.
* `end` is not specified it is set to `start` with `start` then set to `0`.
*
* @static
* @memberOf _
@@ -46,7 +50,7 @@ function inRange(value, start, end) {
} else {
end = +end || 0;
}
return value >= start && value < end;
return value >= nativeMin(start, end) && value < nativeMax(start, end);
}
module.exports = inRange;