Bump to v4.7.0.

This commit is contained in:
John-David Dalton
2016-03-26 00:00:01 -07:00
parent 6c2960211f
commit d46bcaa98d
389 changed files with 3333 additions and 1627 deletions

View File

@@ -1,4 +1,4 @@
define(['./_baseCastFunction', './_baseForOwnRight'], function(baseCastFunction, baseForOwnRight) {
define(['./_baseForOwnRight', './_baseIteratee'], function(baseForOwnRight, baseIteratee) {
/**
* This method is like `_.forOwn` except that it iterates over properties of
@@ -6,6 +6,7 @@ define(['./_baseCastFunction', './_baseForOwnRight'], function(baseCastFunction,
*
* @static
* @memberOf _
* @since 2.0.0
* @category Object
* @param {Object} object The object to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
@@ -22,10 +23,10 @@ define(['./_baseCastFunction', './_baseForOwnRight'], function(baseCastFunction,
* _.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, baseCastFunction(iteratee));
return object && baseForOwnRight(object, baseIteratee(iteratee));
}
return forOwnRight;