Skip to content

Conversation

skanne
Copy link
Contributor

@skanne skanne commented Feb 28, 2021

Hi Jorge,

not sure if you still want to support olden and not-at-all-golden Internet Explorer. If you're ditching it, then we could as well inch ourselves closer to more modern JS.

Here I am suggesting replacing the pattern parent.removeChild(node) with the simpler node.remove(). According to CanIUse it is safe to assume that by now this method is supported by all non-IE-browsers out there.

Benefit: We can shave off a few more bytes.

Regards,
Sven

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants