-
Notifications
You must be signed in to change notification settings - Fork 300
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
Editorial: remove parent argument to remove #801
Comments
annevk
added a commit
that referenced
this issue
Dec 6, 2019
koto
pushed a commit
to koto/dom
that referenced
this issue
Dec 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A number of callers don't give it and callers do check for parent being non-null before calling. It seems we should assert it's non-null and then use that. I.e., turn the internal concept into being closer to
child.remove()
rather thanparent.removeChild(child)
.Bonus: clean up attribute removal in a similar fashion.
The text was updated successfully, but these errors were encountered: