craftyjs/Crafty — pull request #701 by sbyrnes321 (2014-01-20 22:30:51+00:00)
Title: fix bug in Crafty.DOM.translate

Arithmatic error: The translation calculation was incorrect when the viewport scale is not 1 AND the viewport x or y is not 0. I fixed it. (I also improved the documentation.)

Example:

http://jsfiddle.net/B53CY/ -- Before this change

http://jsfiddle.net/B53CY/1/ -- After this change