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,17 +1,16 @@
import baseForOwnRight from './_baseForOwnRight.js';
/**
* This method is like `_.forOwn` except that it iterates over properties of
* This method is like `forOwn` 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 _.forOwn
* @see forOwn
* @example
*
* function Foo() {
@@ -21,10 +20,10 @@ import baseForOwnRight from './_baseForOwnRight.js';
*
* Foo.prototype.c = 3;
*
* _.forOwnRight(new Foo, function(value, key) {
* forOwnRight(new Foo, function(value, key) {
* console.log(key);
* });
* // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
* // => Logs 'b' then 'a' assuming `forOwn` logs 'a' then 'b'.
*/
function forOwnRight(object, iteratee) {
return object && baseForOwnRight(object, iteratee);