Optimize javascript minification, slight increase of file size, but massive performance improvement
parent
9ed42ac801
commit
b32f883a9d
|
@ -326,7 +326,6 @@ function compressJS(values)
|
|||
var complete = values.join("\n");
|
||||
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_squeeze(ast); // get an AST with compression optimizations
|
||||
return pro.gen_code(ast); // compressed code here
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue