mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-15 05:07:49 +00:00
Ensure each and eachRight have the correct chain behavior.
This commit is contained in:
@@ -13988,8 +13988,6 @@
|
||||
lodash.zipWith = zipWith;
|
||||
|
||||
// Add aliases.
|
||||
lodash.each = forEach;
|
||||
lodash.eachRight = forEachRight;
|
||||
lodash.extend = assignIn;
|
||||
lodash.extendWith = assignInWith;
|
||||
|
||||
@@ -14132,6 +14130,8 @@
|
||||
lodash.upperFirst = upperFirst;
|
||||
|
||||
// Add aliases.
|
||||
lodash.each = forEach;
|
||||
lodash.eachRight = forEachRight;
|
||||
lodash.first = head;
|
||||
|
||||
mixin(lodash, (function() {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<script src="../node_modules/lodash/index.js"></script>
|
||||
<script src="../node_modules/lodash/lodash.js"></script>
|
||||
<script>var lodashStable = _.noConflict();</script>
|
||||
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
|
||||
<script src="../node_modules/qunit-extras/qunit-extras.js"></script>
|
||||
|
||||
@@ -5748,6 +5748,8 @@
|
||||
];
|
||||
|
||||
var unwrappedMethods = [
|
||||
'each',
|
||||
'eachRight',
|
||||
'every',
|
||||
'find',
|
||||
'findIndex',
|
||||
|
||||
Reference in New Issue
Block a user