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
path: root/js
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2015-03-16 23:15:20 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2015-03-16 23:15:20 +0300
commitcb715fb9614e02afa37b5f89b09869c5d931b9c8 (patch)
tree1deb2bd84a59acc6e9109a102d1d44ba83d8c5bd /js
parent47a61c1ad87c9208db5a673346bb762cec7bf32f (diff)
Fix description of handling download extensions is incomplete
A new minified piwik.js should not be needed as it is only jsdoc
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 0f4f5d253a..cac08102f5 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -4445,7 +4445,8 @@ if (typeof Piwik !== 'object') {
},
/**
- * Set list of file extensions to be recognized as downloads
+ * Set list of file extensions to be recognized as downloads. Each extension has to be separated by
+ * a '/'.
*
* @param string extensions
*/
@@ -4454,9 +4455,10 @@ if (typeof Piwik !== 'object') {
},
/**
- * Specify additional file extensions to be recognized as downloads
+ * Specify additional file extensions to be recognized as downloads. If you'd like to add multiple
+ * extensions, separate them by a '|' character.
*
- * @param string extensions
+ * @param string extensions for example 'custom' or 'custom1|custom2|custom3'
*/
addDownloadExtensions: function (extensions) {
configDownloadExtensions += '|' + extensions;