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

Fix time calc on cancelAnimationFrame #35892

Merged
merged 1 commit into from
Sep 15, 2024
Merged

Conversation

james-rae
Copy link
Contributor

Description

Updates the code example on the cancelAnimationFrame page. Progress time calculation will now be as expected.

Related issues and pull requests

Fixes #31840

@james-rae james-rae requested a review from a team as a code owner September 15, 2024 17:52
@james-rae james-rae requested review from Elchi3 and removed request for a team September 15, 2024 17:52
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Sep 15, 2024
Copy link
Contributor

@sideshowbarker sideshowbarker merged commit 9bf78e9 into mdn:main Sep 15, 2024
7 checks passed
@sideshowbarker
Copy link
Member

James, thanks much for catching this and fixing it, and congrats on landing your first docs change here — welcome aboard 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cancelAnimationFrame using mismatched time values in sample
2 participants