dignifiedquire at gmail.com (2014-06-17T18:17:57.924Z)
>On Sun, Jun 15, 2014 at 8:32 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
>
> I apologize for this email, but I still don’t understand the current
> module design.
> ...
> **Single-export modules.** Still missing is support for single-export
> modules, which could be added as follows (the keyword `default` instead of
> the asterisk works just as well, in my opinion).
>
> ```js
> // Module 'MyClass'
> export* class {
> };
>
> // Module 'client3'
> import* MyClass from 'MyClass';
> ```
>
Are these now part of the module design or are you advocating for change?
jjb
On Sun, Jun 15, 2014 at 8:32 PM, Axel Rauschmayer <axel at rauschma.de> wrote: > I apologize for this email, but I still don’t understand the current > module design. > ... > **Single-export modules.** Still missing is support for single-export > modules, which could be added as follows (the keyword `default` instead of > the asterisk works just as well, in my opinion). > > ```js > // Module 'MyClass' > export* class { > }; > > // Module 'client3' > import* MyClass from 'MyClass'; > ``` > Are these now part of the module design or are you advocating for change? jjb -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140616/b3af9fe6/attachment-0001.html>