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 and simplify MDN annotations #91

Merged
merged 1 commit into from
Oct 23, 2018
Merged

Fix and simplify MDN annotations #91

merged 1 commit into from
Oct 23, 2018

Conversation

domenic
Copy link
Member

@domenic domenic commented Oct 23, 2018

Always search for the nearest <body> child and insert before it.

@sideshowbarker, this removes a decent amount of the work you did, so I'm not sure I did it right. It's certainly simpler, but probably worse in various ways.

Still, it's right in the key way that if you run

new Set([...document.querySelectorAll("aside.mdn")].map(el => el.parentElement.localName)).size

in the dev console, you get 1, whereas on https://arcane-cove-57093.herokuapp.com/ it gives 3.

I think we should probably merge this right away to un-break the build, but let me know if you disagree.

Always search for the nearest <body> child and insert before it.
@domenic
Copy link
Member Author

domenic commented Oct 23, 2018

Coincidentally, I'm getting folks contacting me about the broken build right now while trying to build HTML, so let me go ahead and merge...

@domenic domenic merged commit e4fd2f0 into master Oct 23, 2018
@domenic domenic deleted the fix-mdn branch October 23, 2018 12:39
@sideshowbarker
Copy link
Member

Coincidentally, I'm getting folks contacting me about the broken build right now while trying to build HTML, so let me go ahead and merge...

Yeah — thanks for doing that

But will still take some time now to test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants