Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: example/component/news/web/index.html

Issue 20863002: Introduce boot.js: this finally makes it possible to load and run Todomvc (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <title>Simple Web Components Example</title> 8 <title>Simple Web Components Example</title>
9 <link rel="import" href="news-component.html"> 9 <link rel="import" href="news-component.html">
10 <script src='packages/polymer/boot.js'></script>
10 </head> 11 </head>
11 <body> 12 <body>
12 <h1>Simple Web Components Example</h1> 13 <h1>Simple Web Components Example</h1>
13 <ul is="x-news"> 14 <ul is="x-news">
14 <li><a href="//example.com/stories/1">A story</a></li> 15 <li><a href="//example.com/stories/1">A story</a></li>
15 <li><a href="//example.com/stories/2">Another story</a></li> 16 <li><a href="//example.com/stories/2">Another story</a></li>
16 <li class="breaking"><a href="//example.com/stories/3">Also a story</a></li> 17 <li class="breaking"><a href="//example.com/stories/3">Also a story</a></li>
17 <li><a href="//example.com/stories/4">Yet another story</a></li> 18 <li><a href="//example.com/stories/4">Yet another story</a></li>
18 <li><a href="//example.com/stories/4">Awesome story</a></li> 19 <li><a href="//example.com/stories/4">Awesome story</a></li>
19 <li class="breaking"><a href="//example.com/stories/5">Horrible story</a></l i> 20 <li class="breaking"><a href="//example.com/stories/5">Horrible story</a></l i>
20 </ul> 21 </ul>
21 <script type="application/dart">main() {}</script> 22 <script type="application/dart">main() {}</script>
22 </body> 23 </body>
23 </html> 24 </html>
OLDNEW
« no previous file with comments | « example/component/news/test/expected/news_index_test.html.txt ('k') | example/component/news/web/news-component.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698