Merge pull request #390 from booo/master

fix for issue #389
This commit is contained in:
Peter 'Pita' Martischka 2012-02-02 04:17:33 -08:00
commit 8d7ec7d24a
1 changed files with 1 additions and 0 deletions

View File

@ -326,6 +326,7 @@ function compressJS(values)
var complete = values.join("\n"); var complete = values.join("\n");
var ast = jsp.parse(complete); // parse code and get the initial AST var ast = jsp.parse(complete); // parse code and get the initial AST
ast = pro.ast_mangle(ast); // get a new AST with mangled names ast = pro.ast_mangle(ast); // get a new AST with mangled names
ast = pro.ast_squeeze(ast); // get an AST with compression optimizations
return pro.gen_code(ast); // compressed code here return pro.gen_code(ast); // compressed code here
} }