| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 This example is from | 3 This example is from |
| 4 https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news | 4 https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news |
| 5 --> | 5 --> |
| 6 <html> | 6 <html> |
| 7 <head> | 7 <head> |
| 8 <!--polymer-test: this comment is needed for test_suite.dart--> | 8 <!--polymer-test: this comment is needed for test_suite.dart--> |
| 9 <title>Simple Web Components Example</title> | 9 <title>Simple Web Components Example</title> |
| 10 <link rel="import" href="packages/web_components/platform.js"> |
| 11 <link rel="import" href="packages/web_components/dart_support.js"> |
| 10 <link rel="import" href="packages/polymer/polymer.html"> | 12 <link rel="import" href="packages/polymer/polymer.html"> |
| 11 <link rel="import" href="../web/news-component.html"> | 13 <link rel="import" href="../web/news-component.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 </head> | 15 </head> |
| 14 <body> | 16 <body> |
| 15 <h1>Simple Web Components Example</h1> | 17 <h1>Simple Web Components Example</h1> |
| 16 <ul is="x-news"> | 18 <ul is="x-news"> |
| 17 <li><a href="//example.com/stories/1">A story</a></li> | 19 <li><a href="//example.com/stories/1">A story</a></li> |
| 18 <li><a href="//example.com/stories/2">Another story</a></li> | 20 <li><a href="//example.com/stories/2">Another story</a></li> |
| 19 <li class="breaking"><a href="//example.com/stories/3">Also a story</a></li> | 21 <li class="breaking"><a href="//example.com/stories/3">Also a story</a></li> |
| 20 <li><a href="//example.com/stories/4">Yet another story</a></li> | 22 <li><a href="//example.com/stories/4">Yet another story</a></li> |
| 21 <li><a href="//example.com/stories/4">Awesome story</a></li> | 23 <li><a href="//example.com/stories/4">Awesome story</a></li> |
| 22 <li class="breaking"><a href="//example.com/stories/5">Horrible story</a></l
i> | 24 <li class="breaking"><a href="//example.com/stories/5">Horrible story</a></l
i> |
| 23 </ul> | 25 </ul> |
| 24 <script type="application/dart" src="news_index_test.dart"></script> | 26 <script type="application/dart" src="news_index_test.dart"></script> |
| 25 </body> | 27 </body> |
| 26 </html> | 28 </html> |
| OLD | NEW |