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:
authorThomas Steur <thomas.steur@gmail.com>2017-01-23 16:03:57 +0300
committerThomas Steur <thomas.steur@gmail.com>2017-01-23 16:03:57 +0300
commitda1480000ecd4ac8ea43cf6d3deef51dae004a6f (patch)
tree39333a40defcaa28e0ffe9cec37e6186e0fc4a37 /tests/javascript
parentb279bbcc95025244c14d276d7b051dc2c30ee5f2 (diff)
add possibility to pass parameters to plugins
Diffstat (limited to 'tests/javascript')
-rw-r--r--tests/javascript/piwiktest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/javascript/piwiktest.js b/tests/javascript/piwiktest.js
index c535b9b132..0eb11b0006 100644
--- a/tests/javascript/piwiktest.js
+++ b/tests/javascript/piwiktest.js
@@ -12,7 +12,7 @@ Piwik.addPlugin('testPlugin', {
* called when tracker instantiated
* - function or string to be eval()'d
*/
- run: function (registerHookCallback) {
+ run: function (params, registerHookCallback) {
registerHookCallback('test',
'{' +
'_isDefined : isDefined,' +