craftyjs/Crafty — pull request #382 by starwed (2012-11-24 00:16:19+00:00)
Title: Workaround webkit bug for image onload event when image is already loaded

There's a bug in webkit that means the on load event is never fired (http://code.google.com/p/chromium/issues/detail?id=7731)

This implements the workaround suggested in comment 5 of that bug -- set the image src to "" and back again.

(Also, actually merging into the develop branch this time -- could have sworn I selected the correct option!)