Bump to v3.3.1.

This commit is contained in:
John-David Dalton
2015-12-16 17:47:30 -08:00
parent f8e4370129
commit 7a82a3d77b
13 changed files with 49 additions and 40 deletions

View File

@@ -37,7 +37,7 @@ define(['../internal/baseCallback'], function(baseCallback) {
* // => 2
*
* // using the `_.matches` callback shorthand
* _.findLastIndex(users, { user': 'barney', 'active': true });
* _.findLastIndex(users, { 'user': 'barney', 'active': true });
* // => 0
*
* // using the `_.matchesProperty` callback shorthand

View File

@@ -25,7 +25,7 @@ define(['../internal/baseIndexOf', '../internal/binaryIndex'], function(baseInde
* @example
*
* _.indexOf([1, 2, 1, 2], 2);
* // => 2
* // => 1
*
* // using `fromIndex`
* _.indexOf([1, 2, 1, 2], 2, 2);

View File

@@ -30,7 +30,7 @@ define(['../internal/baseIndexOf', '../internal/cacheIndexOf', '../internal/crea
var value = arguments[argsIndex];
if (isArray(value) || isArguments(value)) {
args.push(value);
caches.push(isCommon && value.length >= 120 && createCache(argsIndex && value));
caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);
}
}
argsLength = args.length;