mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Bump to v4.0.0.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
define(['./baseForRight', '../object/keys'], function(baseForRight, keys) {
|
||||
define(['./baseForRight', '../keys'], function(baseForRight, keys) {
|
||||
|
||||
/**
|
||||
* The base implementation of `_.forOwnRight` without support for callback
|
||||
* shorthands and `this` binding.
|
||||
* The base implementation of `_.forOwnRight` without support for iteratee shorthands.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to iterate over.
|
||||
@@ -10,7 +9,7 @@ define(['./baseForRight', '../object/keys'], function(baseForRight, keys) {
|
||||
* @returns {Object} Returns `object`.
|
||||
*/
|
||||
function baseForOwnRight(object, iteratee) {
|
||||
return baseForRight(object, iteratee, keys);
|
||||
return object && baseForRight(object, iteratee, keys);
|
||||
}
|
||||
|
||||
return baseForOwnRight;
|
||||
|
||||
Reference in New Issue
Block a user