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