What about --mangle-props being on and --mangle being off?

This commit is contained in:
Fábio Santos
2015-08-10 21:13:30 +01:00
parent 7ee8f3512e
commit adee5023c0
2 changed files with 5 additions and 7 deletions

View File

@@ -118,13 +118,6 @@ module.exports = function () {
ok.equal(expanding_def.name.names[0].TYPE, 'SymbolVar');
ok.equal(expanding_def.name.names[1].TYPE, 'Expansion');
ok.equal(expanding_def.name.names[1].symbol.TYPE, 'SymbolVar');
ok.throws(function () {
// Note: this *is* a valid destructuring, but before we implement
// destructuring (right now it's only destructuring *arguments*),
// this won't do.
UglifyJS.parse('[{a}]');
});
}
// Run standalone