John Lenz (2014-01-29T16:54:12.000Z)
I assume that I can access this like so:

var mod = newModule({'a.b.c':1})
use(mod['a.b.c']);

It isn't clear to me why imports and export names are restricted.



On Wed, Jan 29, 2014 at 8:40 AM, Kevin Smith <zenparsing at gmail.com> wrote:

> // a.js
>>
>> var foo = 1;
>> export foo as 'a.b.c';
>>
>> // b.js
>>
>> import 'a.b.c' as foo from "a.js"
>>
>>
> That is not valid.  Export binding names (where you have 'a.b.c') must be
> IdentifierName.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140129/787c23b8/attachment.html>
domenic at domenicdenicola.com (2014-02-04T20:53:40.600Z)
I assume that I can access this like so:

```js
var mod = newModule({'a.b.c':1})
use(mod['a.b.c']);
```

It isn't clear to me why imports and export names are restricted.