Bump to v3.9.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:50:42 -08:00
parent 26837e7fe2
commit 81e41ca0c8
89 changed files with 1033 additions and 1088 deletions

View File

@@ -12,7 +12,7 @@ define(['../internal/baseClone', '../internal/baseMatchesProperty'], function(ba
* @memberOf _
* @category Utility
* @param {Array|string} path The path of the property to get.
* @param {*} value The value to compare.
* @param {*} srcValue The value to match.
* @returns {Function} Returns the new function.
* @example
*
@@ -24,8 +24,8 @@ define(['../internal/baseClone', '../internal/baseMatchesProperty'], function(ba
* _.find(users, _.matchesProperty('user', 'fred'));
* // => { 'user': 'fred' }
*/
function matchesProperty(path, value) {
return baseMatchesProperty(path, baseClone(value, true));
function matchesProperty(path, srcValue) {
return baseMatchesProperty(path, baseClone(srcValue, true));
}
return matchesProperty;

View File

@@ -31,9 +31,6 @@ define(['../internal/arrayCopy', '../internal/baseFunctions', '../lang/isFunctio
* });
* }
*
* // use `_.runInContext` to avoid conflicts (esp. in Node.js)
* var _ = require('lodash').runInContext();
*
* _.mixin({ 'vowels': vowels });
* _.vowels('fred');
* // => ['e']

View File

@@ -8,7 +8,7 @@ define(['../internal/bindCallback', '../internal/root'], function(bindCallback,
nativeMin = Math.min;
/** Used as references for the maximum length and index of an array. */
var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
var MAX_ARRAY_LENGTH = 4294967295;
/**
* Invokes the iteratee function `n` times, returning an array of the results