Brian Terlson Brian.Terlson at microsoft.com
Tue Jun 17 16:46:31 PDT 2014

I realized I'm not sure how my [ClassMix library]( https://gist.github.com/bterlson/fc94a81a3811f48187b6#file-mix-js) will work with this proposal, if at all. Clearly the subclass constructor in [the example](https://gist.github.com/bterlson/fc94a81a3811f48187b6#file-exampleapp-js-L15) would have to change to account for the fact that super must be called, along with the default constructor [created by the library]( https://gist.github.com/bterlson/fc94a81a3811f48187b6#file-mix-js-L32), but I'm not sure how. Seems like I'd have to invoke super constructors and explicitly mix the instances returned. At any rate this code is definitely much harder to implement with the @@new proposal.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140617/5ab47a71/attachment-0001.html>

More information about the es-discuss mailing list