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

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: 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..b547e89fa2132e121f8342a60039e803cac2232b 100644
--- a/example/component/news/web/news-component.html
+++ b/example/component/news/web/news-component.html
@@ -34,6 +34,16 @@ 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 {}
+
+ @polymerInitMethod
+ _init() {
+ registerPolymerElement('x-news', () => new XNews());
+ }
+ </script>
</polymer-element>
</body>
</html>
« no previous file with comments | « example/component/news/web/index.html ('k') | example/todomvc/test/expected/todomvc_listorder_test.html.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698