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