mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
make FlashCanvas check closure compiler friendly
This commit is contained in:
parent
19f505214b
commit
b6d6f44678
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user