commit
8d7ec7d24a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue