mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 07:17:50 +00:00
Ensure noArgsClass references aren't removed for "underscore" builds.
Former-commit-id: 697e2d29d5fef32b0b10d775eee7a12d193ff1a9
This commit is contained in:
2
build.js
2
build.js
@@ -998,6 +998,7 @@
|
||||
if (!isUnderscore) {
|
||||
source = removeIsArgumentsFallback(source);
|
||||
source = removeIsPlainObjectFallback(source);
|
||||
source = removeNoArgsClass(source);
|
||||
}
|
||||
|
||||
// remove `hasDontEnumBug`, `hasObjectSpliceBug`, `iteratesOwnLast`, `noArgsEnum` assignment
|
||||
@@ -1023,7 +1024,6 @@
|
||||
source = removeVar(source, 'noArraySliceOnStrings');
|
||||
source = removeVar(source, 'noCharByIndex');
|
||||
source = removeKeysOptimization(source);
|
||||
source = removeNoArgsClass(source);
|
||||
source = removeNoNodeClass(source);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user