OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <meta charset="utf-8"> | 5 <meta charset="utf-8"> |
6 <title>Sample app</title> | 6 <title>Sample app</title> |
7 <link rel="stylesheet" href="{name.lower}.css"> | 7 <link rel="stylesheet" href="{name.lower}.css"> |
8 | 8 |
9 <!-- import the click-counter --> | 9 <!-- import the click-counter --> |
10 <link rel="import" href="clickcounter.html"> | 10 <link rel="import" href="clickcounter.html"> |
11 <script type="application/dart">import 'package:polymer/init.dart';</script> | 11 <script type="application/dart">export 'package:polymer/init.dart';</script> |
12 <script src="packages/browser/dart.js"></script> | 12 <script src="packages/browser/dart.js"></script> |
13 </head> | 13 </head> |
14 <body> | 14 <body> |
15 <h1>{name.title}</h1> | 15 <h1>{name.title}</h1> |
16 | 16 |
17 <p>Hello world from Dart!</p> | 17 <p>Hello world from Dart!</p> |
18 | 18 |
19 <div id="sample_container_id"> | 19 <div id="sample_container_id"> |
20 <click-counter count="5"></click-counter> | 20 <click-counter count="5"></click-counter> |
21 </div> | 21 </div> |
22 | 22 |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |