make FlashCanvas check closure compiler friendly

This commit is contained in:
Obexer Christoph 2012-02-26 23:04:46 +01:00
parent 19f505214b
commit b6d6f44678

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);
}
});