Ensure each and eachRight have the correct chain behavior.

This commit is contained in:
John-David Dalton
2016-01-13 03:45:15 -08:00
parent 73405cf042
commit 846e813c99
3 changed files with 5 additions and 3 deletions

View File

@@ -13988,8 +13988,6 @@
lodash.zipWith = zipWith; lodash.zipWith = zipWith;
// Add aliases. // Add aliases.
lodash.each = forEach;
lodash.eachRight = forEachRight;
lodash.extend = assignIn; lodash.extend = assignIn;
lodash.extendWith = assignInWith; lodash.extendWith = assignInWith;
@@ -14132,6 +14130,8 @@
lodash.upperFirst = upperFirst; lodash.upperFirst = upperFirst;
// Add aliases. // Add aliases.
lodash.each = forEach;
lodash.eachRight = forEachRight;
lodash.first = head; lodash.first = head;
mixin(lodash, (function() { mixin(lodash, (function() {

View File

@@ -22,7 +22,7 @@
}; };
} }
</script> </script>
<script src="../node_modules/lodash/index.js"></script> <script src="../node_modules/lodash/lodash.js"></script>
<script>var lodashStable = _.noConflict();</script> <script>var lodashStable = _.noConflict();</script>
<script src="../node_modules/qunitjs/qunit/qunit.js"></script> <script src="../node_modules/qunitjs/qunit/qunit.js"></script>
<script src="../node_modules/qunit-extras/qunit-extras.js"></script> <script src="../node_modules/qunit-extras/qunit-extras.js"></script>

View File

@@ -5748,6 +5748,8 @@
]; ];
var unwrappedMethods = [ var unwrappedMethods = [
'each',
'eachRight',
'every', 'every',
'find', 'find',
'findIndex', 'findIndex',