mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Revert "Optimize javascript minification, slight increase of file size, but massive performance improvement"
This reverts commit b32f883a9d
.
This commit is contained in:
parent
dfa106df03
commit
3f3bb95073
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…
Reference in a new issue