jonobr1/Physics — pull request #2 by skratchdot (2012-10-12 16:10:18+00:00)
Title: 2 Bugfixes

Fixing an error reported by Firebug as well as a bug that I experienced when checking out your documentation: I was click the play/pause button and the text was changing, but no animation was triggered. I thought the library was broken, but then realized clicking on the canvas fixed things.

Feel free to ignore this pull request. I'm storing the physics object on the canvas to get access to it in the "toggle text" code. Not sure of the memory impact of this.

Tested in the latest versions of Firefox and Chrome.