replace single-use class definitions (#2524)

fixes #2416
This commit is contained in:
Alex Lam S.L
2017-11-28 20:57:15 +08:00
committed by GitHub
parent b84c99ef5c
commit 37cbd7080c
4 changed files with 44 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ describe("spidermonkey export/import sanity test", function() {
var command = uglifyjs + " --self -cm --wrap SpiderUglify -o spidermonkey | " +
uglifyjs + " -p spidermonkey -cm";
exec(command, function(err, stdout) {
exec(command, { maxBuffer: 1048576 }, function(err, stdout) {
if (err) throw err;
eval(stdout);