Ensure mobile builds pass unit tests.

Former-commit-id: 31b4eb76c90f375069ef4a73aa7e3fdbcbda069d
This commit is contained in:
John-David Dalton
2013-05-19 14:28:23 -07:00
parent 16242f98ce
commit e7bad10663

View File

@@ -3158,7 +3158,7 @@
if (_.size(source.match(/\bfreeExports\b/g)) < 2) {
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, 'errorProto');
source = removeFromCreateIterator(source, 'errorClass');