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

@@ -1,11 +1,10 @@
import baseGet from './_baseGet.js';
/**
* The opposite of `_.property`; this method creates a function that returns
* The opposite of `property`; this method creates a function that returns
* the value at a given path of `object`.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Util
* @param {Object} object The object to query.
@@ -15,10 +14,10 @@ import baseGet from './_baseGet.js';
* var array = [0, 1, 2],
* object = { 'a': array, 'b': array, 'c': array };
*
* _.map(['a[2]', 'c[0]'], _.propertyOf(object));
* map(['a[2]', 'c[0]'], propertyOf(object));
* // => [2, 0]
*
* _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
* map([['a', '2'], ['c', '0']], propertyOf(object));
* // => [2, 0]
*/
function propertyOf(object) {