Index: sky/examples/flights-app/app-panel.sky |
diff --git a/sky/examples/flights-app/app-panel.sky b/sky/examples/flights-app/app-panel.sky |
index ed9da6d11062d96b54560fde65e5948fc02b9bb5..61f02c02b7ae7f1167da5ced4b68918cbbf66152 100644 |
--- a/sky/examples/flights-app/app-panel.sky |
+++ b/sky/examples/flights-app/app-panel.sky |
@@ -1,4 +1,6 @@ |
<import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> |
+ |
+<sky-element name="app-panel"> |
<template> |
<style> |
:host { |
@@ -10,7 +12,7 @@ |
<content></content> |
</template> |
<script> |
-SkyElement({ |
- name: "app-panel" |
-}); |
+module.exports = class extends SkyElement { |
+}.register(); |
</script> |
+</sky-element> |