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 <head> | 9 <head> |
10 <title>event path</title> | 10 <title>event path</title> |
| 11 <link rel="import" href="packages/polymer/polymer.html"> |
11 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> | 12 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
12 <!-- | 13 <!-- |
13 Test ported from: | 14 Test ported from: |
14 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js | 15 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js |
15 | 16 |
16 TODO(sigmund): when we have support for mutation observers, render all of | 17 TODO(sigmund): when we have support for mutation observers, render all of |
17 the test in Dart (like events.js does in JS) | 18 the test in Dart (like events.js does in JS) |
18 --> | 19 --> |
19 </head> | 20 </head> |
20 <body> | 21 <body> |
(...skipping 20 matching lines...) Expand all Loading... |
41 </template> | 42 </template> |
42 </polymer-element> | 43 </polymer-element> |
43 | 44 |
44 <test-a id="a"></test-a> | 45 <test-a id="a"></test-a> |
45 <test-b id="b"></test-b> | 46 <test-b id="b"></test-b> |
46 <test-c id="c"></test-c> | 47 <test-c id="c"></test-c> |
47 | 48 |
48 <script type="application/dart" src="events_test.dart"></script> | 49 <script type="application/dart" src="events_test.dart"></script> |
49 </body> | 50 </body> |
50 </html> | 51 </html> |
OLD | NEW |