fix(core): IE only supports parentNode

Closes #5994
This commit is contained in:
Yegor Jbanov 2015-12-17 16:48:54 -08:00 committed by Yegor
parent 76f1f9f1e3
commit 630d93150a
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
_supportsTemplateElement ? el.content : el;
Node firstChild(el) => el.firstChild;
Node nextSibling(Node el) => el.nextNode;
Element parentElement(Node el) => el.parent;
Element parentElement(Node el) => el.parentNode;
List<Node> childNodes(Node el) => el.childNodes;
List childNodesAsList(Node el) => childNodes(el).toList();
void clearNodes(Node el) {