fix: properly close the <tree> tag in benchmark

This commit is contained in:
Misko Hevery 2014-12-11 14:23:02 -08:00
parent 56b7ba4bce
commit c25e9e7c5f
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ function setup() {
directives: [TreeComponent, NgIf],
inline: `
<span> {{data.value}}
<span template='ng-if data.left != null'><tree [data]='data.left'></span>
<span template='ng-if data.right != null'><tree [data]='data.right'></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'></tree></span>
</span>`
})
})]