Bump to v3.2.1.

This commit is contained in:
jdalton
2015-05-19 08:03:41 -07:00
committed by John-David Dalton
parent 0847978784
commit 2a20de4a1e
81 changed files with 330 additions and 240 deletions

View File

@@ -1,8 +1,8 @@
/**
* lodash 3.2.0 (Custom Build) <https://lodash.com/>
* lodash 3.2.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
@@ -10,7 +10,7 @@ var baseClone = require('lodash._baseclone'),
baseMatchesProperty = require('lodash._basematchesproperty');
/**
* Creates a function which compares the property value of `key` on a given
* Creates a function which compares the property value of `path` on a given
* object to `value`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
@@ -20,7 +20,7 @@ var baseClone = require('lodash._baseclone'),
* @static
* @memberOf _
* @category Utility
* @param {string} key The key of the property to get.
* @param {Array|string} path The path of the property to get.
* @param {*} value The value to compare.
* @returns {Function} Returns the new function.
* @example
@@ -33,8 +33,8 @@ var baseClone = require('lodash._baseclone'),
* _.find(users, _.matchesProperty('user', 'fred'));
* // => { 'user': 'fred' }
*/
function matchesProperty(key, value) {
return baseMatchesProperty(key + '', baseClone(value, true));
function matchesProperty(path, value) {
return baseMatchesProperty(path, baseClone(value, true));
}
module.exports = matchesProperty;