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

Catch errors in animation frame callbacks #911

Merged
merged 2 commits into from
Aug 30, 2018

Conversation

jbeezley
Copy link
Contributor

Errors in user provided animation frame callbacks caused all future
callbacks in the same animation frame to not run. This catches any
errors and prints them to console.error.

Errors in user provided animation frame callbacks caused all future
callbacks in the same animation frame to not run.  This catches any
errors and prints them to `console.error`.
@manthey
Copy link
Contributor

manthey commented Aug 30, 2018

@jbeezley I added a test. If you think the test is good, feel free to merge.

@jbeezley
Copy link
Contributor Author

👍 Thanks.

@jbeezley jbeezley merged commit 2746002 into master Aug 30, 2018
@jbeezley jbeezley deleted the catch-animation-frame-errors branch August 30, 2018 14:20
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

Successfully merging this pull request may close these issues.

2 participants