diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-03-20 03:39:23 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-03-20 03:39:36 +0300 |
commit | 45f6ad830e8f42cead9e07386a7c1c7c39fb5079 (patch) | |
tree | 64d9c11993074f1b1e5eeff3b42f0e74821df49a /js | |
parent | 75a378296ee1561542139640f0ba03e211a50499 (diff) |
Add comment to clarify range of index parameter
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/piwik.js b/js/piwik.js index 9305b4e548..c402ef4e22 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -4348,7 +4348,7 @@ if (typeof Piwik !== 'object') { /** * Set custom variable within this visit * - * @param int index + * @param int index Custom variable slot ID from 1-5 * @param string name * @param string value * @param string scope Scope of Custom Variable: @@ -4387,7 +4387,7 @@ if (typeof Piwik !== 'object') { /** * Get custom variable * - * @param int index + * @param int index Custom variable slot ID from 1-5 * @param string scope Scope of Custom Variable: "visit" or "page" or "event" */ getCustomVariable: function (index, scope) { @@ -4417,7 +4417,7 @@ if (typeof Piwik !== 'object') { /** * Delete custom variable * - * @param int index + * @param int index Custom variable slot ID from 1-5 */ deleteCustomVariable: function (index, scope) { // Only delete if it was there already |