- From: Andy Earnshaw <notifications@github.com>
- Date: Thu, 17 Mar 2016 03:36:59 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 17 March 2016 10:37:29 UTC
> @@ -176,7 +176,7 @@ <h4 id="custom-elements-custom-tag-example">Creating a custom tag</h4>
> <p>We then need to use this class to define the element:</p>
>
> <pre class="highlight">
> -document.defineElement("flag-icon", FlagIcon);</pre>
> +document.registerElement("flag-icon", FlagIcon);</pre>
The example should reflect the specification, not the current implementations in browsers.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/pull/446/files/7f1f897f0536a2a48d44251de237b7cb03ab159e#r56484282
Received on Thursday, 17 March 2016 10:37:29 UTC