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