Great site and amazing animation.
Actually this is not an issue but more a request of explanation.
|
this.run = this.run.bind(this); |
I do not understand this.run = this.run.bind(this); Why are you binding the run prototype function to itself? Isn't it already in the prototype of the Object AnimationFrame?
Thank you!
Great site and amazing animation.
Actually this is not an issue but more a request of explanation.
autonomous-agents/js/lib/animation.js
Line 23 in 4eac0eb
I do not understand
this.run = this.run.bind(this);Why are you binding the run prototype function to itself? Isn't it already in the prototype of the Object AnimationFrame?Thank you!