From d9adcfe6169c6c10059a670f2ed984908eb4e105 Mon Sep 17 00:00:00 2001 From: Christian Raue Date: Wed, 23 Jul 2014 20:27:56 +0200 Subject: removed lots of trailing whitespace --- js/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/README.md') diff --git a/js/README.md b/js/README.md index 478fea68d7..dc4220836e 100644 --- a/js/README.md +++ b/js/README.md @@ -32,7 +32,7 @@ The js/ folder contains: $ wget http://www.julienlecomte.net/yuicompressor/yuicompressor-2.4.2.zip $ unzip yuicompressor-2.4.2.zip ``` - + To compress the code containing the evil "eval", either apply the patch from http://yuilibrary.com/projects/yuicompressor/ticket/2343811, or run: @@ -41,7 +41,7 @@ The js/ folder contains: $ cd /path/to/piwik/js/ $ sed '//,/<\/DEBUG>/d' < piwik.js | sed 's/eval/replacedEvilString/' | java -jar yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --type js --line-break 1000 | sed 's/replacedEvilString/eval/' | sed 's/^[/][*]/\/*!/' > piwik-min.js && cp piwik-min.js ../piwik.js ``` - + This will generate the minify /path/to/piwik/js/piwik-min.js and copy it to /path/to/piwik/piwik.js -- cgit v1.2.3