Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.run.bind(this) #1

Open
fabriziogiordano opened this issue Jan 3, 2015 · 0 comments
Open

this.run.bind(this) #1

fabriziogiordano opened this issue Jan 3, 2015 · 0 comments

Comments

@fabriziogiordano
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant