craftyjs/Crafty — pull request #380 by starwed (2012-11-21 20:01:10+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.