mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Remove more unused variables in debug builds.
Former-commit-id: dd50d5d0b855a85ca8099d92288f2ca621a532fa
This commit is contained in:
4
build.js
4
build.js
@@ -2355,6 +2355,10 @@
|
|||||||
}
|
}
|
||||||
if ((source.match(/\bcreateIterator\b/g) || []).length < 2) {
|
if ((source.match(/\bcreateIterator\b/g) || []).length < 2) {
|
||||||
source = removeFunction(source, 'createIterator');
|
source = removeFunction(source, 'createIterator');
|
||||||
|
source = removeVar(source, 'defaultsIteratorOptions');
|
||||||
|
source = removeVar(source, 'eachIteratorOptions');
|
||||||
|
source = removeVar(source, 'forOwnIteratorOptions');
|
||||||
|
source = removeVar(source, 'templateIterator');
|
||||||
source = removeHasDontEnumBug(source);
|
source = removeHasDontEnumBug(source);
|
||||||
source = removeHasEnumPrototype(source);
|
source = removeHasEnumPrototype(source);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user