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:
authormattpiwik <matthieu.aubry@gmail.com>2011-05-20 05:21:56 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-05-20 05:21:56 +0400
commit54aa61a0c6328134d280b9b60080c82252aa8bb1 (patch)
treefaae86d53e152227b25fed4c37952bbc4918e976 /libs/jqplot
parent22c03b567ab1596486cacb8dc610859de2e8b56d (diff)
Build unix end of lines
git-svn-id: http://dev.piwik.org/svn/trunk@4728 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/jqplot')
-rwxr-xr-xlibs/jqplot/plugins/jqplot.cursor.js28
-rw-r--r--libs/jqplot/plugins/jqplot.highlighter.js12
-rwxr-xr-xlibs/jqplot/plugins/jqplot.pieRenderer.js12
3 files changed, 26 insertions, 26 deletions
diff --git a/libs/jqplot/plugins/jqplot.cursor.js b/libs/jqplot/plugins/jqplot.cursor.js
index 677906a2d0..6251531fbd 100755
--- a/libs/jqplot/plugins/jqplot.cursor.js
+++ b/libs/jqplot/plugins/jqplot.cursor.js
@@ -213,20 +213,20 @@
var c = this.plugins.cursor;
// Memory Leaks patch
- if (c.zoomCanvas) {
- c.zoomCanvas.resetCanvas();
- c.zoomCanvas = null;
- }
-
- if (c.cursorCanvas) {
- c.cursorCanvas.resetCanvas();
- c.cursorCanvas = null;
- }
-
- if (c._tooltipElem) {
- c._tooltipElem.emptyForce();
- c._tooltipElem = null;
- }
+ if (c.zoomCanvas) {
+ c.zoomCanvas.resetCanvas();
+ c.zoomCanvas = null;
+ }
+
+ if (c.cursorCanvas) {
+ c.cursorCanvas.resetCanvas();
+ c.cursorCanvas = null;
+ }
+
+ if (c._tooltipElem) {
+ c._tooltipElem.emptyForce();
+ c._tooltipElem = null;
+ }
// if (c.zoom) {
diff --git a/libs/jqplot/plugins/jqplot.highlighter.js b/libs/jqplot/plugins/jqplot.highlighter.js
index 97cb134b0d..59a5b8faee 100644
--- a/libs/jqplot/plugins/jqplot.highlighter.js
+++ b/libs/jqplot/plugins/jqplot.highlighter.js
@@ -179,12 +179,12 @@
// create a canvas which we can draw on.
// insert it before the eventCanvas, so eventCanvas will still capture events.
$.jqplot.Highlighter.postPlotDraw = function() {
- // Memory Leaks patch
- if (this.plugins.highlighter &&
- this.plugins.highlighter.highlightCanvas) {
- this.plugins.highlighter.highlightCanvas.resetCanvas();
- this.plugins.highlighter.highlightCanvas = null;
- }
+ // Memory Leaks patch
+ if (this.plugins.highlighter &&
+ this.plugins.highlighter.highlightCanvas) {
+ this.plugins.highlighter.highlightCanvas.resetCanvas();
+ this.plugins.highlighter.highlightCanvas = null;
+ }
this.plugins.highlighter.highlightCanvas = new $.jqplot.GenericCanvas();
diff --git a/libs/jqplot/plugins/jqplot.pieRenderer.js b/libs/jqplot/plugins/jqplot.pieRenderer.js
index a146677c50..499ae88ebb 100755
--- a/libs/jqplot/plugins/jqplot.pieRenderer.js
+++ b/libs/jqplot/plugins/jqplot.pieRenderer.js
@@ -767,12 +767,12 @@
// create a canvas which we can draw on.
// insert it before the eventCanvas, so eventCanvas will still capture events.
function postPlotDraw() {
- // Memory Leaks patch
- if (this.plugins.pieRenderer &&
- this.plugins.pieRenderer.highlightCanvas) {
- this.plugins.pieRenderer.highlightCanvas.resetCanvas();
- this.plugins.pieRenderer.highlightCanvas = null;
- }
+ // Memory Leaks patch
+ if (this.plugins.pieRenderer &&
+ this.plugins.pieRenderer.highlightCanvas) {
+ this.plugins.pieRenderer.highlightCanvas.resetCanvas();
+ this.plugins.pieRenderer.highlightCanvas = null;
+ }
this.plugins.pieRenderer = {highlightedSeriesIndex:null};
this.plugins.pieRenderer.highlightCanvas = new $.jqplot.GenericCanvas();