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

code-examples.js: switch to firstElementChild #37570

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Dec 1, 2022

Spotted on twbs/blog#330

This ensures that we will get the first element child and not text
@XhmikosR XhmikosR marked this pull request as ready for review December 1, 2022 15:09
@XhmikosR XhmikosR requested a review from a team as a code owner December 1, 2022 15:09
@XhmikosR XhmikosR changed the title doce-examples.js: switch to firstElementChild code-examples.js: switch to firstElementChild Dec 1, 2022
@XhmikosR XhmikosR merged commit 18fec8b into main Dec 1, 2022
@XhmikosR XhmikosR deleted the XhmikosR-patch-1 branch December 1, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants