mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 11:57:49 +00:00
Ensure each and eachRight have the correct chain behavior.
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -5748,6 +5748,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
var unwrappedMethods = [
|
var unwrappedMethods = [
|
||||||
|
'each',
|
||||||
|
'eachRight',
|
||||||
'every',
|
'every',
|
||||||
'find',
|
'find',
|
||||||
'findIndex',
|
'findIndex',
|
||||||
|
|||||||
Reference in New Issue
Block a user