Import Module Syntax Bikeshed
Kevin Smith
khs4473 at gmail.com
Wed Sep 5 07:49:20 PDT 2012
Apologies if the "import module" syntax has already been agreed upon (in
which case I'll be happy to use whatever it is), but in converting over
some code to ES6 modules, I've found myself dissatisfied with both "variant
A" and "variant B".
I've created a gist to illustrate my thoughts, along with a third
possibility.
https://gist.github.com/3637556
Comments and harangues welcome.
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120905/2c44f7d2/attachment.html>
More information about the es-discuss
mailing list