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