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

Recommend AudioNode constructor instead of factory function #7615

Merged
merged 8 commits into from
Aug 5, 2021

Conversation

max-vogler
Copy link
Contributor

Issue number that this PR fixes (if any). For example: 'Fixes #987654321'

Fixes #7426

What was wrong/why is this fix needed? (quick summary only)

Existing docs sometimes recommend the AudioNode factory method, but the constructor should be recommend instead, see #7426.

Anything else that could help us review it

I added a bunch of smaller clean ups along the way. Feel free to suggest a rewording to the sentences that I used - since the wording is now consistent, I can change it pretty quickly.

@max-vogler max-vogler requested review from a team as code owners August 5, 2021 12:26
@max-vogler max-vogler requested review from Elchi3 and removed request for a team August 5, 2021 12:26
@max-vogler max-vogler changed the title Fix/audio node constructor Recommend AudioNode constructor instead of factory function Aug 5, 2021
@github-actions

This comment has been minimized.

@sideshowbarker sideshowbarker merged commit 65048e2 into mdn:main Aug 5, 2021
@sideshowbarker
Copy link
Collaborator

Max, really nice work. Thanks much, and congrats on landing your first docs change here — welcome aboard 🎉

@max-vogler
Copy link
Contributor Author

Thanks for the quick merge and applying your suggestions yourself!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GainNode article recommends against constructor usage
2 participants