Closed kingkero closed 9 years ago
I have added another major improvement (sorry if this wasn't the right way, new to GitHub, forking and pull requests). The draw method has been broken for redrawing - this can be seen in the Spring example when you hit the redraw button. It will effectively kick some nodes off the screen. Why? Because the translation has been applied twice. I removed the unnecessary code (which should also improve performance)
One error is still thrown ("Don't make functions within a loop") which probably cannot be resolved that easily. The comment /* jshint loopfunc:true */ might be helpful