| 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 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 <title>Sample app</title> | 7 <title>Sample app</title> |
| 8 <link rel="import" href="packages/polymer/polymer.html"> | 8 <script src="packages/web_components/platform.js"></script> |
| 9 <script src="packages/web_components/dart_support.js"></script> |
| 9 <!-- import the click-counter --> | 10 <!-- import the click-counter --> |
| 10 <link rel="import" href="clickcounter.html"> | 11 <link rel="import" href="clickcounter.html"> |
| 11 <script type="application/dart">export 'package:polymer/init.dart';</script> | 12 <script type="application/dart">export 'package:polymer/init.dart';</script> |
| 12 <script src="packages/browser/dart.js"></script> | 13 <script src="packages/browser/dart.js"></script> |
| 13 | 14 |
| 14 <link rel="stylesheet" href="{name.lower}.css"> | 15 <link rel="stylesheet" href="{name.lower}.css"> |
| 15 </head> | 16 </head> |
| 16 <body> | 17 <body> |
| 17 <h1>{name.title}</h1> | 18 <h1>{name.title}</h1> |
| 18 | 19 |
| 19 <p>Hello world from Dart!</p> | 20 <p>Hello world from Dart!</p> |
| 20 | 21 |
| 21 <div id="sample_container_id"> | 22 <div id="sample_container_id"> |
| 22 <click-counter count="5"></click-counter> | 23 <click-counter count="5"></click-counter> |
| 23 </div> | 24 </div> |
| 24 | 25 |
| 25 </body> | 26 </body> |
| 26 </html> | 27 </html> |
| OLD | NEW |