added storageReady event handler

This commit is contained in:
Niklas von Hertzen 2011-07-18 22:43:23 +03:00
parent 24b096e113
commit 0fd3ba1533

View File

@ -13,6 +13,9 @@ function html2canvas(el, userOptions) {
ready: function (stack) {
document.body.appendChild(stack.canvas);
},
storageReady: function(obj){
obj.Renderer(obj.contextStacks);
},
iframeDefault: "default",
flashCanvasPath: "http://html2canvas.hertzen.com/external/flashcanvas/flashcanvas.js",
renderViewport: false,