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 <[email protected]> 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
[email protected]
rauschma.de




_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to