Bump to v4.9.0.

This commit is contained in:
John-David Dalton
2016-04-07 21:38:09 -07:00
parent e8cff1ef54
commit b7e3b3febd
49 changed files with 141 additions and 82 deletions

View File

@@ -14,14 +14,14 @@ import isKey from './_isKey';
* @example
*
* var objects = [
* { 'a': { 'b': { 'c': 2 } } },
* { 'a': { 'b': { 'c': 1 } } }
* { 'a': { 'b': 2 } },
* { 'a': { 'b': 1 } }
* ];
*
* _.map(objects, _.property('a.b.c'));
* _.map(objects, _.property('a.b'));
* // => [2, 1]
*
* _.map(_.sortBy(objects, _.property(['a', 'b', 'c'])), 'a.b.c');
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
* // => [1, 2]
*/
function property(path) {