From d3c4d2a51769f355fc09fe9163f04ba4887a8c5d Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 31 Aug 2009 13:49:32 +0000 Subject: [PATCH] Optimized javascript compressor. --- includes/main.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/main.inc b/includes/main.inc index b1876099..8c0fc8d3 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -141,10 +141,11 @@ function js_compress($sJS) $inNormalComment = false; //loop through line's characters and take out any literal strings, replace them with ___i___ where i is the index of this string - for($j=0;$j