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