OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2012, 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 lang="en"> | 7 <html lang="en"> |
8 <body> | 8 <body> |
9 <element name="x-watch-global" extends="div" constructor="WatchGlobal"> | 9 <element name="x-watch-global" extends="div" constructor="WatchGlobal"> |
10 <template> | 10 <template> |
11 <div>this should say 'hello': {{topLevelVar}}</div> | 11 <div>this should say 'hello': {{topLevelVar}}</div> |
12 </template> | 12 </template> |
13 <script type="application/dart"> | 13 <script type="application/dart"> |
14 import 'common.dart'; | 14 import 'common.dart'; |
15 import 'package:web_components/web_components.dart'; | 15 import 'package:web_ui/web_ui.dart'; |
16 class WatchGlobal extends WebComponent { | 16 class WatchGlobal extends WebComponent { |
17 } | 17 } |
18 </script> | 18 </script> |
19 </element> | 19 </element> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |