Skip to content

Comments

documentElement doesn't have a parent#218

Merged
leastbad merged 1 commit intomasterfrom
orphans
Aug 24, 2022
Merged

documentElement doesn't have a parent#218
leastbad merged 1 commit intomasterfrom
orphans

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