craftyjs/Crafty — pull request #381 by starwed (2012-11-23 23:16:48+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.