stale code: removed excanvas which was ie support for no canvas

This commit is contained in:
John McLear 2020-12-22 15:16:00 +00:00 committed by Richard Hansen
parent 7768871f8f
commit 3a19254f21
5 changed files with 0 additions and 44 deletions

View file

@ -83,14 +83,8 @@ $._farbtastic = function (container, options) {
return this;
}
/////////////////////////////////////////////////////
//excanvas-compatible building of canvases
fb._makeCanvas = function(className){
var c = document.createElement('canvas');
if (!c.getContext) { // excanvas hack
c = window.G_vmlCanvasManager.initElement(c);
c.getContext(); //this creates the excanvas children
}
$(c).addClass(className);
return c;
}