From a493cc4997fa36ad259e94d5afb9fb7115e39af7 Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Tue, 21 Dec 2010 13:49:55 +0000 Subject: [PATCH] Remove excanvas init hack, it's not needed with the bundled version of excanvas git-svn-id: https://flot.googlecode.com/svn/trunk@289 1e0a6537-2640-0410-bfb7-f154510ff394 --- jquery.flot.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/jquery.flot.js b/jquery.flot.js index 6ff15a9..32af959 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -715,13 +715,6 @@ if (canvasWidth <= 0 || canvasHeight <= 0) throw "Invalid dimensions for plot, width = " + canvasWidth + ", height = " + canvasHeight; - // excanvas hack, make sure everything is setup - if (window.G_vmlCanvasManager - && !window.G_vmlCanvasManager.inited) { - window.G_vmlCanvasManager.inited = true; - window.G_vmlCanvasManager.init_(document); - } - function makeCanvas(skipPositioning) { var c = document.createElement('canvas'); c.width = canvasWidth;