Index: sky/examples/flights-app/app-menu-button.sky |
diff --git a/sky/examples/flights-app/app-menu-button.sky b/sky/examples/flights-app/app-menu-button.sky |
index c63c3a4144e81cd668cef33d929e13512b88fe0f..41709faed2fa99541997314ae64cb3a1a66646dd 100644 |
--- a/sky/examples/flights-app/app-menu-button.sky |
+++ b/sky/examples/flights-app/app-menu-button.sky |
@@ -1,4 +1,6 @@ |
<import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> |
+ |
+<sky-element name="app-menu-button"> |
<template> |
<style> |
:host { |
@@ -13,7 +15,7 @@ |
<content></content> |
</template> |
<script> |
-SkyElement({ |
- name: "app-menu-button" |
-}); |
+module.exports = class extends SkyElement { |
+}.register(); |
</script> |
+</sky-element> |