craftyjs/Crafty — pull request #614 by starwed (2013-11-13 17:36:16+00:00)
Title: Fix off-by-one error in both animation.js and tests

I had cleverly managed to introduce an off-by-one error in both the code *and* the unit tests.

It was obvious when I actually tried to use the animation component with an animation that didn't involve counting up from zero... :)