Bump to v3.10.0.

This commit is contained in:
jdalton
2015-06-14 22:21:58 -07:00
parent 6ee2b9a7b8
commit 4bd2890bbd
121 changed files with 777 additions and 649 deletions

View File

@@ -1,11 +1,9 @@
import baseToString from '../internal/baseToString';
import root from '../internal/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;
/**
* Repeats the given string `n` times.
@@ -40,7 +38,7 @@ function repeat(string, n) {
if (n % 2) {
result += string;
}
n = floor(n / 2);
n = nativeFloor(n / 2);
string += string;
} while (n);