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

documentElement doesn't have a parent #218

Merged
merged 1 commit into from
Aug 24, 2022
Merged

documentElement doesn't have a parent #218

merged 1 commit into from
Aug 24, 2022

Conversation

leastbad
Copy link
Contributor

In the process of testing stimulusreflex/stimulus_reflex#601, I realized that three operations attempt to access the parentElement. This doesn't work out if you are targeting html.

Snuck in a tiny util function, fragmentToString. I intend to use it for tests and etc.

@leastbad leastbad merged commit 7b864c6 into master Aug 24, 2022
@leastbad leastbad deleted the orphans branch August 24, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant