fix(ng1 benchmarks): revert *ng-if to ng-if
This commit is contained in:
parent
0e82970a29
commit
909233f724
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue