refactor(render): add DomElement

Replaces the multiple arrays of `DomView`
by a single array with `DomElement`s.

Note: this commit does not show a performance regression
(tested against the tree benchmark locally).
This commit is contained in:
Tobias Bosch
2015-06-02 10:15:16 -07:00
parent 0a50a3f564
commit 827841ec5b
11 changed files with 86 additions and 95 deletions
+3 -1
View File
@@ -43,7 +43,9 @@ export class DebugElement {
}
get domElement(): any {
return resolveInternalDomView(this._parentView.render).boundElements[this._boundElementIndex];
return resolveInternalDomView(this._parentView.render)
.boundElements[this._boundElementIndex]
.element;
}
getDirectiveInstance(directiveIndex: number): any {