Bump to v3.10.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:52:15 -08:00
parent 32393ae520
commit 75c633becb
121 changed files with 1504 additions and 1168 deletions

View File

@@ -1,5 +1,8 @@
define([], function() {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/* Native method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max,
nativeMin = Math.min;
@@ -37,7 +40,7 @@ define([], function() {
*/
function inRange(value, start, end) {
start = +start || 0;
if (typeof end === 'undefined') {
if (end === undefined) {
end = start;
start = 0;
} else {

View File

@@ -1,5 +1,8 @@
define(['../internal/baseRandom', '../internal/isIterateeCall'], function(baseRandom, isIterateeCall) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/* Native method references for those with the same name as other `lodash` methods. */
var nativeMin = Math.min,
nativeRandom = Math.random;
@@ -33,7 +36,7 @@ define(['../internal/baseRandom', '../internal/isIterateeCall'], function(baseRa
*/
function random(min, max, floating) {
if (floating && isIterateeCall(min, max, floating)) {
max = floating = null;
max = floating = undefined;
}
var noMin = min == null,
noMax = max == null;