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

@@ -2,17 +2,16 @@ import baseForRight from './_baseForRight.js';
import keysIn from './keysIn.js';
/**
* This method is like `_.forIn` except that it iterates over properties of
* This method is like `forIn` except that it iterates over properties of
* `object` in the opposite order.
*
* @static
* @memberOf _
* @since 2.0.0
* @category Object
* @param {Object} object The object to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Object} Returns `object`.
* @see _.forIn
* @see forIn
* @example
*
* function Foo() {
@@ -22,10 +21,10 @@ import keysIn from './keysIn.js';
*
* Foo.prototype.c = 3;
*
* _.forInRight(new Foo, function(value, key) {
* forInRight(new Foo, function(value, key) {
* console.log(key);
* });
* // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
* // => Logs 'c', 'b', then 'a' assuming `forIn` logs 'a', 'b', then 'c'.
*/
function forInRight(object, iteratee) {
return object == null ? object : baseForRight(object, iteratee, keysIn);