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

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

Issue 788943003: Make SkyElement more classy. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Don't change indent. Created 6 years 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/app-toolbar.sky ('k') | sky/examples/flights-app/index.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/flights-app/flights-app.sky
diff --git a/sky/examples/flights-app/flights-app.sky b/sky/examples/flights-app/flights-app.sky
index ccb24ff6fe1ea3ee711168adfecb5883c9dddf40..2d32ff712d3082ce494a820e7d838974f4baa54c 100644
--- a/sky/examples/flights-app/flights-app.sky
+++ b/sky/examples/flights-app/flights-app.sky
@@ -10,6 +10,7 @@
<import src="app-scrollable.sky" />
<import src="app-toast.sky" />
+<sky-element name="flights-app">
<template>
<style>
* { box-sizing: border-box; }
@@ -200,7 +201,7 @@
</app-toast>
</template>
<script>
-SkyElement({
- name: "flights-app",
-});
+module.exports = class extends SkyElement {
+}.register();
</script>
+</sky-element>
« no previous file with comments | « sky/examples/flights-app/app-toolbar.sky ('k') | sky/examples/flights-app/index.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698