fix: properly close the <tree> tag in benchmark
This commit is contained in:
parent
56b7ba4bce
commit
c25e9e7c5f
|
@ -44,8 +44,8 @@ function setup() {
|
||||||
directives: [TreeComponent, NgIf],
|
directives: [TreeComponent, NgIf],
|
||||||
inline: `
|
inline: `
|
||||||
<span> {{data.value}}
|
<span> {{data.value}}
|
||||||
<span template='ng-if data.left != null'><tree [data]='data.left'></span>
|
<span template='ng-if data.left != null'><tree [data]='data.left'></tree></span>
|
||||||
<span template='ng-if data.right != null'><tree [data]='data.right'></span>
|
<span template='ng-if data.right != null'><tree [data]='data.right'></tree></span>
|
||||||
</span>`
|
</span>`
|
||||||
})
|
})
|
||||||
})]
|
})]
|
||||||
|
|
Loading…
Reference in New Issue