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

Unified Diff: example/component/news/web/news-component.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: review comments, fixed build.dart Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: example/component/news/web/news-component.html
diff --git a/example/component/news/web/news-component.html b/example/component/news/web/news-component.html
index 51d00e036c23a0b1f6e03ab23fe20dbddeccc96a..09fa392963a1ee58d369861c894bcd4087009634 100644
--- a/example/component/news/web/news-component.html
+++ b/example/component/news/web/news-component.html
@@ -34,6 +34,15 @@ https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news
</ul>
</div>
</template>
+ <script type="application/dart">
+ import 'package:polymer/polymer.dart';
+
+ class XNews extends PolymerElement {}
+
+ _init() {
Jennifer Messerly 2013/07/30 00:56:12 is _init still supported?
Siggi Cherem (dart-lang) 2013/07/30 23:32:04 Done. restored.
+ registerPolymerElement('x-news', () => new XNews());
+ }
+ </script>
</polymer-element>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698