Bump to v3.3.1.

This commit is contained in:
jdalton
2015-02-22 17:47:09 -08:00
parent 5dc85cc9a8
commit cc16e113c2
13 changed files with 53 additions and 45 deletions

View File

@@ -37,7 +37,7 @@ var baseCallback = require('../internal/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

@@ -26,7 +26,7 @@ var nativeMax = Math.max;
* @example
*
* _.indexOf([1, 2, 1, 2], 2);
* // => 2
* // => 1
*
* // using `fromIndex`
* _.indexOf([1, 2, 1, 2], 2, 2);

View File

@@ -34,7 +34,7 @@ function intersection() {
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;