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,10 +1,8 @@
define(['../internal/bindCallback', '../internal/root'], function(bindCallback, root) {
/** Native method references. */
var floor = Math.floor;
/* Native method references for those with the same name as other `lodash` methods. */
var nativeIsFinite = root.isFinite,
var nativeFloor = Math.floor,
nativeIsFinite = root.isFinite,
nativeMin = Math.min;
/** Used as references for the maximum length and index of an array. */
@@ -38,7 +36,7 @@ define(['../internal/bindCallback', '../internal/root'], function(bindCallback,
* // => also invokes `mage.castSpell(n)` three times
*/
function times(n, iteratee, thisArg) {
n = floor(n);
n = nativeFloor(n);
// Exit early to avoid a JSC JIT bug in Safari 8
// where `Array(0)` is treated as `Array(1)`.