ModuleImport
Michał Gołębiowski
m.goleb at gmail.com
Fri Jun 27 00:52:44 PDT 2014
On Fri, Jun 27, 2014 at 9:44 AM, Russell Leggett <russell.leggett at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140627/c9f8c4b5/attachment.html>
More information about the es-discuss
mailing list