File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
modules/benchmarks/src/naive_infinite_scroll Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ import {View} from 'angular2/src/core/annotations_impl/view';
2020 <div style="display: flex">
2121 <scroll-area id="testArea"></scroll-area>
2222 </div>
23- <div template="if scrollAreas.length > 0">
23+ <div template="ng- if scrollAreas.length > 0">
2424 <p>Following tables are only here to add weight to the UI:</p>
25- <scroll-area template="for #scrollArea of scrollAreas"></scroll-area>
25+ <scroll-area template="ng- for #scrollArea of scrollAreas"></scroll-area>
2626 </div>
2727 </div>`
2828} )
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export class Stage {
8383 directives : [ NgFor ] ,
8484 template : `
8585 <div [style]="style">
86- <button template="for #stage of stages"
86+ <button template="ng- for #stage of stages"
8787 [disabled]="stage.isDisabled"
8888 [style]="stage.style"
8989 on-click="setStage(stage)">
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {NgFor} from 'angular2/directives';
2525 <div id="padding"></div>
2626 <div id="inner">
2727 <scroll-item
28- template="for #item of visibleItems"
28+ template="ng- for #item of visibleItems"
2929 [offering]="item">
3030 </scroll-item>
3131 </div>
You can’t perform that action at this time.
0 commit comments