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

Unified Diff: sky/examples/flights-app/app-panel-header.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-panel-content.sky ('k') | sky/examples/flights-app/app-scrollable.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/flights-app/app-panel-header.sky
diff --git a/sky/examples/flights-app/app-panel-header.sky b/sky/examples/flights-app/app-panel-header.sky
index 11ab221b242032ec97b92868ade60992cf39681a..7d7e3826cb01fdf9c85358ee4871866b70fe3995 100644
--- a/sky/examples/flights-app/app-panel-header.sky
+++ b/sky/examples/flights-app/app-panel-header.sky
@@ -1,4 +1,6 @@
<import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
+
+<sky-element name="app-panel-header">
<template>
<style>
:host {
@@ -11,7 +13,7 @@
<content></content>
</template>
<script>
-SkyElement({
- name: "app-panel-header"
-});
+module.exports = class extends SkyElement {
+}.register();
</script>
+</sky-element>
« no previous file with comments | « sky/examples/flights-app/app-panel-content.sky ('k') | sky/examples/flights-app/app-scrollable.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698