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

Remove window prefix in requestAnimationFrame example #35456

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

senocular
Copy link
Contributor

window prefix unnecessary and inconsistent

Description

Removes the window prefix from the one example using it.

Motivation

Unnecessary and inconsistent with other examples. Can be confusing why its used in this one example and not in others.

Additional details

Related issues and pull requests

window prefix unnecessary and inconsistent
@senocular senocular requested a review from a team as a code owner August 13, 2024 22:54
@senocular senocular requested review from Elchi3 and removed request for a team August 13, 2024 22:54
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Aug 13, 2024
@senocular senocular changed the title Update index.md Remove window prefix in requestAnimationFrame example Aug 13, 2024
Copy link
Contributor

@Josh-Cena
Copy link
Member

We actually have a whole discussion on this: #27666 and it's unclear whether we want this prefix or not. I don't think it's going to be as smooth as "everyone loves to drop this prefix".

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senocular I'm merging this PR since other examples on this page aren't adding the prefix anyway, but we may add them back later, in a consistent fashion, depending on the outcome of the discussion.

@Josh-Cena Josh-Cena merged commit a64b3db into mdn:main Aug 15, 2024
7 checks passed
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.

2 participants