Index: sky/examples/flights-app/app-toast.sky |
diff --git a/sky/examples/flights-app/app-toast.sky b/sky/examples/flights-app/app-toast.sky |
index f04db163b483fe5c96bf861c074a05f9e69fef9c..c7c438e82537d282bf9b96e298c7ba2e5972fedf 100644 |
--- a/sky/examples/flights-app/app-toast.sky |
+++ b/sky/examples/flights-app/app-toast.sky |
@@ -1,4 +1,6 @@ |
<import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> |
+ |
+<sky-element name="app-toast"> |
<template> |
<style> |
:host { |
@@ -30,7 +32,7 @@ |
</div> |
</template> |
<script> |
-SkyElement({ |
- name: "app-toast" |
-}); |
+module.exports = class extends SkyElement { |
+}.register(); |
</script> |
+</sky-element> |