Re: [webidl] Allow constructor<ClassType> as a type accepted by functions. (#101)

Yeah, good point maybe spec'ing it this way is a bad idea. Basically this spec was copying webcomponents registerElement (now called define?!?!) substantially:
https://w3c.github.io/webcomponents/spec/custom/#dom-customelementsregistry-define
Which also checks the shape of the constructor passed in.

Writing the same algorithm N times seemed like overkill.

I guess custom elements is different as it explicitly stores the callbacks on define time, then invokes them with the right object?

Re: inputProperties, thanks.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/101#issuecomment-201007399

Received on Thursday, 24 March 2016 20:37:14 UTC