Index: sky/examples/htmlish/framework/element.sky |
diff --git a/sky/examples/htmlish/framework/element.sky b/sky/examples/htmlish/framework/element.sky |
index ab792677d4146a47f754fc2f6a92ac791d3522fd..89b4c2d0f74877e8791f1964f590a107ea0f5361 100644 |
--- a/sky/examples/htmlish/framework/element.sky |
+++ b/sky/examples/htmlish/framework/element.sky |
@@ -21,7 +21,7 @@ SKY MODULE - defines an <element> element |
<script> |
module.exports.Element = sky.registerElement({ |
tagName: 'element', |
- prototype: class extends Element { |
+ constructor: class extends Element { |
constructor (module) { |
super(); |
this.state = 'loading'; |