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:
authormattab <matthieu.aubry@gmail.com>2014-05-19 13:31:49 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-19 13:31:49 +0400
commitb5af790d891a70376e083a77119cea34896462b8 (patch)
tree2fc28440520cded204a15812d3d0710ce26a02a5 /js
parent38327166af6fac6d0db29f0faec3f51622e16975 (diff)
Nailing jslint
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index ac9345aa36..09f00bf561 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -435,6 +435,7 @@ if (typeof JSON2 !== 'object') {
/*global Piwik:true */
/*members addPlugin, getTracker, getAsyncTracker */
/*global Piwik_Overlay_Client */
+/*global AnalyticsTracker:true */
/*members initialize */
/*global define */
/*members amd */
@@ -3195,12 +3196,14 @@ if (window && window.piwikAsyncInit) {
window.piwikAsyncInit();
}
+/*jslint sloppy: true */
(function () {
var jsTrackerType = (typeof AnalyticsTracker);
if (jsTrackerType === 'undefined') {
AnalyticsTracker = Piwik;
}
-})();
+}());
+/*jslint sloppy: false */
/************************************************************
* Deprecated functionality below