Optimize javascript minification, slight increase of file size, but massive performance improvement

pull/381/merge
Peter 'Pita' Martischka 2012-01-31 13:27:46 +01:00
parent 9ed42ac801
commit b32f883a9d
1 changed files with 0 additions and 1 deletions

View File

@ -326,7 +326,6 @@ 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
} }