From 77a6412ff7a8bdb2f23fb00a2d8ce22e7a35fcee Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Sun, 28 Aug 2016 18:33:55 +1200 Subject: Split piwik.js into multiple files and provide a merged one (#10441) refs #6106 --- js/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/README.md') diff --git a/js/README.md b/js/README.md index 9556dc402e..b3700827eb 100644 --- a/js/README.md +++ b/js/README.md @@ -46,11 +46,11 @@ The js/ folder contains: ```bash $ cd /path/to/piwik/js/ - $ sed '//,/<\/DEBUG>/d' < piwik.js | sed 's/eval/replacedEvilString/' | java -jar yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar --type js --line-break 1000 | sed 's/replacedEvilString/eval/' | sed 's/^[/][*]/\/*!/' > piwik-min.js && cp piwik-min.js ../piwik.js + $ sed '//,/<\/DEBUG>/d' < piwik.js | sed 's/eval/replacedEvilString/' | java -jar yuicompressor-2.4.7/build/yuicompressor-2.4.7.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 + This will generate the minify /path/to/piwik/js/piwik.min.js and copy it to + /path/to/piwik/piwik.js. Both "js/piwik.min.js" and "piwik.js" need to be committed. * In a production environment, the tests/javascript folder is not used and can be removed (if present). -- cgit v1.2.3