|
8 | 8 | Large table rendered with AngularJS
|
9 | 9 | </p>
|
10 | 10 |
|
11 |
| - <div>none: <input type=radio ng-model="benchmarkType" value="none"></div> |
12 |
| - <div>baseline binding: <input type=radio ng-model="benchmarkType" value="baselineBinding"></div> |
13 |
| - <div>baseline interpolation: <input type=radio ng-model="benchmarkType" value="baselineInterpolation"></div> |
14 |
| - <div>ngBind: <input type=radio ng-model="benchmarkType" value="ngBind"></div> |
15 |
| - <div>interpolation: <input type=radio ng-model="benchmarkType" value="interpolation"></div> |
16 |
| - <div>ngBind + fnInvocation: <input type=radio ng-model="benchmarkType" value="ngBindFn"></div> |
17 |
| - <div>interpolation + fnInvocation: <input type=radio ng-model="benchmarkType" value="interpolationFn"></div> |
18 |
| - <div>ngBind + filter: <input type=radio ng-model="benchmarkType" value="ngBindFilter"></div> |
19 |
| - <div>interpolation + filter: <input type=radio ng-model="benchmarkType" value="interpolationFilter"></div> |
| 11 | + <div>none: <input type="radio" ng-model="benchmarkType" value="none"></div> |
| 12 | + <div>baseline binding: <input type="radio" ng-model="benchmarkType" value="baselineBinding"></div> |
| 13 | + <div>baseline interpolation: <input type="radio" ng-model="benchmarkType" value="baselineInterpolation"></div> |
| 14 | + <div>ngBind: <input type="radio" ng-model="benchmarkType" value="ngBind"></div> |
| 15 | + <div>ngBindOnce: <input type="radio" ng-model="benchmarkType" value="ngBindOnce"></div> |
| 16 | + <div>interpolation: <input type="radio" ng-model="benchmarkType" value="interpolation"></div> |
| 17 | + <div>ngBind + fnInvocation: <input type="radio" ng-model="benchmarkType" value="ngBindFn"></div> |
| 18 | + <div>interpolation + fnInvocation: <input type="radio" ng-model="benchmarkType" value="interpolationFn"></div> |
| 19 | + <div>ngBind + filter: <input type="radio" ng-model="benchmarkType" value="ngBindFilter"></div> |
| 20 | + <div>interpolation + filter: <input type="radio" ng-model="benchmarkType" value="interpolationFilter"></div> |
20 | 21 |
|
21 | 22 | <ng-switch on="benchmarkType">
|
22 | 23 | <baseline-binding-table ng-switch-when="baselineBinding">
|
|
26 | 27 | <div ng-switch-when="ngBind">
|
27 | 28 | <h2>baseline binding</h2>
|
28 | 29 | <div ng-repeat="row in data">
|
29 |
| - <span ng-repeat="column in row"><span ng-bind="column.i"></span>:<span ng-bind="column.j"></span>|</span> |
| 30 | + <span ng-repeat="column in row"> |
| 31 | + <span ng-bind="column.i"></span>:<span ng-bind="column.j"></span>| |
| 32 | + </span> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + <div ng-switch-when="ngBindOnce"> |
| 36 | + <h2>baseline binding once</h2> |
| 37 | + <div ng-repeat="row in data"> |
| 38 | + <span ng-repeat="column in ::row"> |
| 39 | + <span ng-bind="::column.i"></span>:<span ng-bind="::column.j"></span>| |
| 40 | + </span> |
30 | 41 | </div>
|
31 | 42 | </div>
|
32 | 43 | <div ng-switch-when="interpolation">
|
|
0 commit comments