Modules: Curly Free

Kevin Smith zenparsing at gmail.com
Tue Apr 23 08:51:58 PDT 2013


So we'll need two different productions for importing the "default" vs.
importing the module instance object.  Even with node core, we'll need to
use two different forms:

    import "stream" as Stream;
    import module "fs" as fs;

    // Or choose any other two variations you want...

This is more complicated than what they have now.  How do we know the
proposed "default" will make developers happy?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130423/0761053f/attachment-0001.html>


More information about the es-discuss mailing list