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

Side by Side Diff: pkg/polymer/example/component/news/web/news-component.html

Issue 24149003: Port of github.com/polymer/polymer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « pkg/pkg.status ('k') | pkg/polymer/lib/boot.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <polymer-element name="x-news" extends="ul"> 1 <polymer-element name="x-news" extends="ul">
2 <template> 2 <template>
3 <style scoped> 3 <style scoped>
4 div.breaking { 4 div.breaking {
5 color: Red; 5 color: Red;
6 font-size: 20px; 6 font-size: 20px;
7 border: 1px dashed Purple; 7 border: 1px dashed Purple;
8 } 8 }
9 div.other { 9 div.other {
10 padding: 2px 0 0 0; 10 padding: 2px 0 0 0;
(...skipping 13 matching lines...) Expand all
24 </ul> 24 </ul>
25 </div> 25 </div>
26 </template> 26 </template>
27 <script type="application/dart"> 27 <script type="application/dart">
28 import 'package:polymer/polymer.dart'; 28 import 'package:polymer/polymer.dart';
29 29
30 class XNews extends PolymerElement {} 30 class XNews extends PolymerElement {}
31 31
32 @initMethod 32 @initMethod
33 _init() { 33 _init() {
34 registerPolymerElement('x-news', () => new XNews()); 34 Polymer.register('x-news', XNews);
35 } 35 }
36 </script> 36 </script>
37 </polymer-element> 37 </polymer-element>
OLDNEW
« no previous file with comments | « pkg/pkg.status ('k') | pkg/polymer/lib/boot.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698