craftyjs/Crafty — pull request #466 by zipang (2013-05-17 00:28:45+00:00)
Title: FIX : Make Color and Sprite component work together for DOM elements

When using DOM rendering on a sprite created from a spritesheet, the `color()` method was ineffective (but it works in Canvas mode).

A good test for this is the ['Sprites and Components' tutorial by craftyjstut](https://github.com/starmelt/craftyjstut/tree/master/firststeps/2_components_and_sprites) (change Canvas to DOM in the tutorial)

PS. _I'm really sorry for the dirty commit with the trailing spaces removed by my editor_, but hope you can follow it as it is simple enough.. I have another pull request following this one, so it'd be hard for me to redo it again from start..