Skip to content

Commit

Permalink
Add note about IE11 for removeNode
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Mar 14, 2019
1 parent 0ce5e82 commit 07b3370
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util.js
Expand Up @@ -11,7 +11,9 @@ export function assign(obj, props) {
}

/**
* Remove a child node from its parent if attached.
* Remove a child node from its parent if attached. This is a workaround for
* IE11 which doesn't support `Element.prototype.remove()`. Using this function
* is smaller than including a dedicated polyfill.
* @param {Node} node The node to remove
*/
export function removeNode(node) {
Expand Down

0 comments on commit 07b3370

Please sign in to comment.