Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/README.md b/js/README.md
index dc4220836e..06c7cf0ae3 100644
--- a/js/README.md
+++ b/js/README.md
@@ -27,7 +27,7 @@ The js/ folder contains:
* piwik.js is minified using YUICompressor 2.4.2.
To install YUICompressor run:
- ```
+ ```bash
$ cd /path/to/piwik/js/
$ wget http://www.julienlecomte.net/yuicompressor/yuicompressor-2.4.2.zip
$ unzip yuicompressor-2.4.2.zip
@@ -37,7 +37,7 @@ The js/ folder contains:
http://yuilibrary.com/projects/yuicompressor/ticket/2343811,
or run:
- ```
+ ```bash
$ cd /path/to/piwik/js/
$ sed '/<DEBUG>/,/<\/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
```
@@ -54,5 +54,4 @@ The js/ folder contains:
* We use /*! to include Piwik's license header in the minified source. Read
Stallman's "The JavaScript Trap" for more information.
-* We do not include the version number as a security best practice
- (information disclosure).
+* Information about the current version number you have installed can be found under [What version of Piwik do I have?](http://piwik.org/faq/how-to-update/faq_8/).