Closed skratchdot closed 12 years ago
You can check out the differences by clicking on one of the play/pause buttons on these 2 pages:
http://skratchdot.github.com/Physics/
vs
This is a duplicate of https://github.com/jonobr1/Physics/pull/2 , correct?
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.