| 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 <head> | 8 <head> |
| 9 <title>event path</title> | 9 <title>event path</title> |
| 10 <script src="packages/polymer/boot.js"></script> | |
| 11 <script src="packages/unittest/test_controller.js"></script> | 10 <script src="packages/unittest/test_controller.js"></script> |
| 12 <!-- | 11 <!-- |
| 13 Test ported from: | 12 Test ported from: |
| 14 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js | 13 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js |
| 15 | 14 |
| 16 TODO(sigmund): when we have support for mutation observers, render all of | 15 TODO(sigmund): when we have support for mutation observers, render all of |
| 17 the test in Dart (like events.js does in JS) | 16 the test in Dart (like events.js does in JS) |
| 18 --> | 17 --> |
| 19 </head> | 18 </head> |
| 20 <body> | 19 <body> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 clicks.add('local click under $localName (id $id) on ${target.id}'); | 54 clicks.add('local click under $localName (id $id) on ${target.id}'); |
| 56 } | 55 } |
| 57 } | 56 } |
| 58 </script> | 57 </script> |
| 59 </polymer-element> | 58 </polymer-element> |
| 60 | 59 |
| 61 <test-a id="a"></test-a> | 60 <test-a id="a"></test-a> |
| 62 <test-b id="b"></test-b> | 61 <test-b id="b"></test-b> |
| 63 | 62 |
| 64 <script type="application/dart" src="events_test.dart"></script> | 63 <script type="application/dart" src="events_test.dart"></script> |
| 64 <script type="application/dart" src="packages/polymer/init.dart"></script> |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |