mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Ensure mobile builds pass unit tests.
Former-commit-id: 31b4eb76c90f375069ef4a73aa7e3fdbcbda069d
This commit is contained in:
2
build.js
2
build.js
@@ -3158,7 +3158,7 @@
|
|||||||
if (_.size(source.match(/\bfreeExports\b/g)) < 2) {
|
if (_.size(source.match(/\bfreeExports\b/g)) < 2) {
|
||||||
source = removeVar(source, 'freeExports');
|
source = removeVar(source, 'freeExports');
|
||||||
}
|
}
|
||||||
if (!/^ *support\.(?:skipErrorProps|nonEnumShadows) *=/m.test(source)) {
|
if (!/^ *support\.(?:enumErrorProps|nonEnumShadows) *=/m.test(source)) {
|
||||||
source = removeVar(source, 'Error');
|
source = removeVar(source, 'Error');
|
||||||
source = removeVar(source, 'errorProto');
|
source = removeVar(source, 'errorProto');
|
||||||
source = removeFromCreateIterator(source, 'errorClass');
|
source = removeFromCreateIterator(source, 'errorClass');
|
||||||
|
|||||||
Reference in New Issue
Block a user