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

Unified Diff: sky/examples/flights-app/index.sky

Issue 724613002: Add a version of flights that's made of components. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/examples/flights-app/flights-app.sky ('k') | sky/tests/framework/flights-app.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/flights-app/index.sky
diff --git a/sky/examples/flights-app/index.sky b/sky/examples/flights-app/index.sky
new file mode 100644
index 0000000000000000000000000000000000000000..7aa09b339f26ca1b85ebdd190afbea00d68e7f5c
--- /dev/null
+++ b/sky/examples/flights-app/index.sky
@@ -0,0 +1,15 @@
+<sky>
+ <import src="flights-app.sky" />
+ <style>
+ sky {
+ height: 100%;
+ }
+ </style>
+ <script>
+ // TODO(esprehn): Work around a bug where having <flights-app /> in the
+ // page doesn't render anything until the first input event.
+ addEventListener("load", function() {
+ document.querySelector("sky").appendChild(document.createElement("flights-app"));
+ });
+ </script>
+</sky>
« no previous file with comments | « sky/examples/flights-app/flights-app.sky ('k') | sky/tests/framework/flights-app.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698