cobexer/html2canvas — comment on commit de4f1aa9b562f55d0c2e7318dee2fee29c643059
File:  line 0
By cobexer:

so onpreloaded and onparsed could return false to indicate that the automated process should stop
the returned object could have methods to do:
obj.parse(options, images) // options being an object identical to the one passed to html2canvas above, omitted options would be taken from the options object passed to html2canvas originally (the call that returned the obj)
obj.render(options, parseQueue, images) // same as above

currently with FlashCanvas users are unable to know when the rendering is complete, because at the time the Renderer function returns the fake canvas, the Flash file may not even be loaded yet

asynchronous rendering would be possible with those changes, just return false from onpreloaded and onparsed and trigger the next step a little later

the object returned by html2canvas (the state object) should probably be passed as 'this' inside the callback functions

did I miss anything?