fix(ng1 benchmarks): revert *ng-if to ng-if

This commit is contained in:
Victor Berchet 2015-05-13 11:28:55 +02:00
parent 0e82970a29
commit 909233f724
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import 'package:angular2/src/test_lib/benchmark_util.dart';
<div style="display: flex">
<scroll-area scroll-top="scrollTop"></scroll-area>
</div>
<div *ng-if="scrollAreas.length > 0">
<div ng-if="scrollAreas.length > 0">
<p>Following tables are only here to add weight to the UI:</p>
<scroll-area ng-repeat="scrollArea in scrollAreas"></scroll-area>
</div>

View File

@ -50,8 +50,8 @@ main() {
selector: 'tree',
map: const {'data': '=>data'},
template: '<span> {{data.value}}'
'<span *ng-if="data.right != null"><tree data=data.right></span>'
'<span *ng-if="data.left != null"><tree data=data.left></span>'
'<span ng-if="data.right != null"><tree data=data.right></span>'
'<span ng-if="data.left != null"><tree data=data.left></span>'
'</span>')
class TreeComponent {
var data;