make FlashCanvas check closure compiler friendly

This commit is contained in:
MoyuScript 2012-02-26 23:04:46 +01:00
parent 14bf02a762
commit 9400cad4c4

View File

@ -446,9 +446,9 @@ html2canvas.Renderer = function(parseQueue, opts){
})(script, function(){
if (typeof FlashCanvas !== "undefined") {
if (typeof window.FlashCanvas !== "undefined") {
h2clog("html2canvas: Renderer: Flashcanvas initialized");
FlashCanvas.initElement( canvas );
window.FlashCanvas.initElement( canvas );
canvasRenderer(parseQueue);
}
});