diff --git a/explainer/index.html b/explainer/index.html index 0607d2da..a6422f2c 100755 --- a/explainer/index.html +++ b/explainer/index.html @@ -193,7 +193,7 @@

Lifecycle Callbacks

</template> <script> var p = Object.create(HTMLElement.prototype); -p.createdCallback: function() { +p.createdCallback = function() { this._root = this.createShadowRoot(); var template = document.querySelector('#tick-tock-clock-template'); this._root.appendChild(document.importNode(template.content));