OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
4 for details. All rights reserved. Use of this source code is governed by a | 4 for details. All rights reserved. Use of this source code is governed by a |
5 BSD-style license that can be found in the LICENSE file. | 5 BSD-style license that can be found in the LICENSE file. |
6 --> | 6 --> |
7 <html> | 7 <html> |
8 <!--polymer-test: this comment is needed for test_suite.dart--> | 8 <!--polymer-test: this comment is needed for test_suite.dart--> |
9 <!-- Test ported from: | 9 <!-- Test ported from: |
10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html | 10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 <template repeat="{{list1}}"> | 47 <template repeat="{{list1}}"> |
48 <div class="list1" on-tap="{{itemTapAction}}">a {{index}}</div> | 48 <div class="list1" on-tap="{{itemTapAction}}">a {{index}}</div> |
49 </template> | 49 </template> |
50 <template repeat="{{item in list2}}"> | 50 <template repeat="{{item in list2}}"> |
51 <div class="list2" | 51 <div class="list2" |
52 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div> | 52 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div> |
53 </template> | 53 </template> |
54 </div> | 54 </div> |
55 </div> | 55 </div> |
56 </template> | 56 </template> |
57 <script type="application/dart" src="event_handlers_test.dart"></script> | 57 <script type="application/dart;component=1" |
| 58 src="event_handlers_test.dart"></script> |
58 </polymer-element> | 59 </polymer-element> |
59 </body> | 60 </body> |
60 </html> | 61 </html> |
OLD | NEW |