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:
authorSijawusz Pur Rahnama <sija@sija.pl>2014-07-24 12:24:18 +0400
committerSijawusz Pur Rahnama <sija@sija.pl>2014-08-24 20:50:31 +0400
commit887ac59e6b5fa955d86d1faaa9fbbd4b00b4bc85 (patch)
tree4ff4247842697dde5daf8e95b426a27e824c062e /js
parent9689138a34f6a2accb8c884131ca15dda183f063 (diff)
Linted piwik.js
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 30b998aa55..75209ed68f 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -1352,7 +1352,7 @@ if (typeof Piwik !== 'object') {
image.onload = function () {
iterator = 0; // To avoid JSLint warning of empty block
- if (typeof callback === 'function') callback()
+ if (typeof callback === 'function') { callback(); }
};
image.src = configTrackerUrl + (configTrackerUrl.indexOf('?') < 0 ? '?' : '&') + request;
}
@@ -1378,7 +1378,7 @@ if (typeof Piwik !== 'object') {
if (this.readyState === 4 && !(this.status >= 200 && this.status < 300)) {
getImage(request, callback);
} else {
- if (typeof callback === 'function') callback()
+ if (typeof callback === 'function') { callback(); }
}
};
@@ -3372,4 +3372,3 @@ if (typeof piwik_log !== 'function') {
}
/*! @license-end */
-