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