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">
|
<div style="display: flex">
|
||||||
<scroll-area scroll-top="scrollTop"></scroll-area>
|
<scroll-area scroll-top="scrollTop"></scroll-area>
|
||||||
</div>
|
</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>
|
<p>Following tables are only here to add weight to the UI:</p>
|
||||||
<scroll-area ng-repeat="scrollArea in scrollAreas"></scroll-area>
|
<scroll-area ng-repeat="scrollArea in scrollAreas"></scroll-area>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -50,8 +50,8 @@ main() {
|
||||||
selector: 'tree',
|
selector: 'tree',
|
||||||
map: const {'data': '=>data'},
|
map: const {'data': '=>data'},
|
||||||
template: '<span> {{data.value}}'
|
template: '<span> {{data.value}}'
|
||||||
'<span *ng-if="data.right != null"><tree data=data.right></span>'
|
'<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.left != null"><tree data=data.left></span>'
|
||||||
'</span>')
|
'</span>')
|
||||||
class TreeComponent {
|
class TreeComponent {
|
||||||
var data;
|
var data;
|
||||||
|
|
Loading…
Reference in New Issue