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:
Diffstat (limited to 'plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js')
-rw-r--r--plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js b/plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js
index ed6109409f..cabd812ffc 100644
--- a/plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js
+++ b/plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js
@@ -10,14 +10,15 @@
(function ($, require) {
- var JqplotGraphDataTable = window.JqplotGraphDataTable,
+ var exports = require('piwik/UI'),
+ JqplotGraphDataTable = exports.JqplotGraphDataTable,
JqplotGraphDataTablePrototype = JqplotGraphDataTable.prototype;
- window.JqplotEvolutionGraphDataTable = function () {
- dataTable.call(this);
+ exports.JqplotEvolutionGraphDataTable = function (element) {
+ JqplotGraphDataTable.call(this, element);
};
- $.extend(window.JqplotEvolutionGraphDataTable.prototype, JqplotGraphDataTablePrototype, {
+ $.extend(exports.JqplotEvolutionGraphDataTable.prototype, JqplotGraphDataTablePrototype, {
_setJqplotParameters: function (params) {
JqplotGraphDataTablePrototype._setJqplotParameters.call(this, params);
@@ -126,4 +127,4 @@
}
});
-})(jQuery, require);
+})(jQuery, require); \ No newline at end of file