Bump to v4.7.0.

This commit is contained in:
John-David Dalton
2016-03-25 23:47:49 -07:00
parent 501d6b1d41
commit 18d0f1d873
419 changed files with 4042 additions and 2066 deletions

View File

@@ -1,4 +1,4 @@
var baseCastFunction = require('./_baseCastFunction'),
var baseIteratee = require('./_baseIteratee'),
baseTimes = require('./_baseTimes'),
toInteger = require('./toInteger');
@@ -16,6 +16,7 @@ var nativeMin = Math.min;
* each invocation. The iteratee is invoked with one argument; (index).
*
* @static
* @since 0.1.0
* @memberOf _
* @category Util
* @param {number} n The number of times to invoke `iteratee`.
@@ -37,7 +38,7 @@ function times(n, iteratee) {
var index = MAX_ARRAY_LENGTH,
length = nativeMin(n, MAX_ARRAY_LENGTH);
iteratee = baseCastFunction(iteratee);
iteratee = baseIteratee(iteratee);
n -= MAX_ARRAY_LENGTH;
var result = baseTimes(length, iteratee);