mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Merge 3f3bb95073
into fc0cbdb55c
This commit is contained in:
commit
6da3b62aa3
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue