A Variation on ES Modules

Kevin Smith khs4473 at gmail.com
Fri Dec 28 10:21:06 PST 2012


Just to finalize this thread, I updated the gist based on comments from
Andreas:

https://gist.github.com/4382710

It includes syntax for proper inline modules, and an extension syntax for
pre-loading (aka concatenating).  It also brings the syntax for module
aliasing closer to the previous harmony proposal:

    module M = "m.js";
    module N = M.N;

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121228/6519ab88/attachment.html>


More information about the es-discuss mailing list