niklasvh/html2canvas — pull request #34 by cobexer (2011-11-26 17:25:16+00:00)
Title: rewrote image handling from using an array to an object

The image loading done in Preload.js used an array to store
image src and image object as 2 consecutive entries in that
array. Using the src as an index in a hash allows direct
instead of a linear search and also allows to store more data.

* improved cleanup of images loaded with the proxy

* this also adds a timeout for the image loading phase, after that
running image requests are aborted and the rendering is started