On Fri, Jun 27, 2014 at 9:44 AM, Russell Leggett <russell.legg...@gmail.com>
wrote:
>
> No, that example would be:
>
>     import "mkdirp" as mkdir;
>
> Its actually shorter than node.
>

But in current proposal the module object cannot be a function from what I
understand. So you'd have to create a named export and import it as I wrote.

-- 
Michał Gołębiowski
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to