Commit a493cc49 authored by olau@iola.dk's avatar olau@iola.dk

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
parent 6e3c674e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment