Juan Ignacio Dopazo (2014-08-06T18:42:41.000Z)
There was discussion about using `this` for exposing metadata about the module. For example (pure speculation):

this.address; // location of the current module
this.name; // name of the current module
this.metadata; // object with metadata generated during the loading lifecycle
this.loader // maybe? reference to the loader that actually loaded this module

-Juan


On Wednesday, August 6, 2014 3:31 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
 


I haven’t seen any mention of `import * as foo` in the meeting notes, so I’m assuming that the ES6 module syntax is basically done. Right? Except for the “import-into-namespace syntax” [1], of course. As an aside, I’m really glad that `this` won’t be used here (which would have resulted in yet another thing one has to learn about `this`).
[1] https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-07/jul-30.md#45-import-into-namespace-syntax-dave

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de




_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140806/00c4542c/attachment.html>
domenic at domenicdenicola.com (2014-08-15T22:27:12.221Z)
There was discussion about using `this` for exposing metadata about the module. For example (pure speculation):

```js
this.address; // location of the current module
this.name; // name of the current module
this.metadata; // object with metadata generated during the loading lifecycle
this.loader // maybe? reference to the loader that actually loaded this module
```