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

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

Issue 853593002: Remove outdated hack from flights-app (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | 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
index 9f262528d3f9c386d7aa8ab53432531c42c3b0ea..31c55af1efb61923bd75273bbb57a0ce8c882c34 100644
--- a/sky/examples/flights-app/index.sky
+++ b/sky/examples/flights-app/index.sky
@@ -5,11 +5,5 @@
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.
- window.addEventListener("load", function() {
- document.querySelector("sky").appendChild(new FlightsAppElement());
- });
- </script>
+ <flights-app />
</sky>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698