From b32f883a9da5216300113a1f81fbd67fb793e7f1 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Tue, 31 Jan 2012 13:27:46 +0100 Subject: [PATCH] Optimize javascript minification, slight increase of file size, but massive performance improvement --- node/utils/Minify.js | 1 - 1 file changed, 1 deletion(-) diff --git a/node/utils/Minify.js b/node/utils/Minify.js index 98774d19..d9623d7e 100644 --- a/node/utils/Minify.js +++ b/node/utils/Minify.js @@ -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 }