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

Unhide code blocks in live sample for Promise #3718

Merged
merged 2 commits into from
Apr 2, 2021

Conversation

wbamberg
Copy link
Collaborator

This PR is related to #3694 and #3512, and it removes the only place in the JS docs where we use class="hidden" to hide part of a live sample.

I could have chosen to move hidden to the code blocks themselves, but in this case (and I expect in many other cases) think it's better not to hide them, so someone can see the whole example.

I also changed a couple of vars to let and const, and renamed the id on the <button> in the example, because <button id="btn"> was upsetting.

@wbamberg wbamberg requested a review from a team as a code owner March 31, 2021 17:17
@wbamberg wbamberg requested review from Rumyra and removed request for a team March 31, 2021 17:17
@Rumyra Rumyra merged commit 4687bad into mdn:main Apr 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2022
@wbamberg wbamberg deleted the remove-promise-hidden branch October 15, 2022 17:24
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.

None yet

2 participants