refactor(core): move misc methods that only have one version from DomAdapter (#32408)

PR Close #32408
This commit is contained in:
Kara Erickson
2019-08-30 11:31:24 -07:00
committed by Miško Hevery
parent c207ad80fd
commit 1a7c79746d
12 changed files with 92 additions and 108 deletions

View File

@ -118,7 +118,7 @@ class DefaultServerRenderer2 implements Renderer2 {
return el;
}
parentNode(node: any): any { return getDOM().parentElement(node); }
parentNode(node: any): any { return node.parentNode; }
nextSibling(node: any): any { return node.nextSibling; }