Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -7,7 +7,6 @@ import toKey from './_toKey.js';
* Creates a function that returns the value at `path` of a given object.
*
* @static
* @memberOf _
* @since 2.4.0
* @category Util
* @param {Array|string} path The path of the property to get.
@@ -19,10 +18,10 @@ import toKey from './_toKey.js';
* { 'a': { 'b': 1 } }
* ];
*
* _.map(objects, _.property('a.b'));
* map(objects, property('a.b'));
* // => [2, 1]
*
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
* map(sortBy(objects, property(['a', 'b'])), 'a.b');
* // => [1, 2]
*/
function property(path) {