Re: [webcomponents]: Of weird script elements and Benadryl

On 4/15/13 3:46 PM, Rick Waldron wrote:
> What I was expecting the above to produce is a constructor capable of
> something like this:
>    var smile = new Smile();
>    smile.nodeType === 1;

For that, you have to have a way for Smile to get the @@construct of 
HTMLButtonElement.  There's no way to do that with ES5.  :(


Received on Monday, 15 April 2013 21:18:46 UTC