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> |