Index: sky/README.md |
diff --git a/sky/README.md b/sky/README.md |
index ac266620943d4e0719f134e6823e6996531f6cdd..8a5673248d615f70d3d4250b768efe06b880b6a9 100644 |
--- a/sky/README.md |
+++ b/sky/README.md |
@@ -72,10 +72,10 @@ SKY MODULE |
class extends SkyElement { |
constructor () { |
this.addEventListener('click', (event) => this.updateTime()); |
- this.createShadowTree().appendChild('Click to show the time'); |
+ this.shadowRoot.appendChild('Click to show the time'); |
} |
updateTime() { |
- this.shadowTree.firstChild.replaceWith(new Date()); |
+ this.shadowRoot.firstChild.replaceWith(new Date()); |
esprehn
2014/10/31 23:13:44
I assume this does a toString() since it's not a N
|
} |
} |
</sky-element> |