Bump to v3.2.0.

This commit is contained in:
jdalton
2015-02-08 22:05:22 -08:00
parent 9e749daefa
commit 05cb7419a6
92 changed files with 1528 additions and 720 deletions

View File

@@ -7,10 +7,14 @@ var baseCallback = require('../internal/baseCallback'),
* iteratee function is bound to `thisArg` and invoked with three arguments;
* (value, key, object).
*
* If a property name is provided for `iteratee` the created "_.property"
* If a property name is provided for `iteratee` the created `_.property`
* style callback returns the property value of the given element.
*
* If an object is provided for `iteratee` the created "_.matches" style
* If a value is also provided for `thisArg` the created `_.matchesProperty`
* style callback returns `true` for elements that have a matching property
* value, else `false`.
*
* If an object is provided for `iteratee` the created `_.matches` style
* callback returns `true` for elements that have the properties of the given
* object, else `false`.
*
@@ -19,8 +23,7 @@ var baseCallback = require('../internal/baseCallback'),
* @category Object
* @param {Object} object The object to iterate over.
* @param {Function|Object|string} [iteratee=_.identity] The function invoked
* per iteration. If a property name or object is provided it is used to
* create a "_.property" or "_.matches" style callback respectively.
* per iteration.
* @param {*} [thisArg] The `this` binding of `iteratee`.
* @returns {Object} Returns the new mapped object.
* @example
@@ -33,7 +36,7 @@ var baseCallback = require('../internal/baseCallback'),
* 'pebbles': { 'user': 'pebbles', 'age': 1 }
* };
*
* // using the "_.property" callback shorthand
* // using the `_.property` callback shorthand
* _.mapValues(users, 'age');
* // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
*/