Re: Re: Sharing objects across modules (was: VirtualHandler fundamental traps default values)

2012-09-14 Thread Marcos - Portal Mão na Roda
Hi Sam! I think it cachês a single instance object per module. I´ve never got the same module for multiple objects. If someone got it, please let me know. Regards, Marcos http://www.acompanhantesspvip.net.br ___ es-discuss mailing

Re: Sharing objects across modules (was: VirtualHandler fundamental traps default values)

2012-09-12 Thread Sam Tobin-Hochstadt
On Tue, Sep 11, 2012 at 3:44 PM, Tom Van Cutsem tomvc...@gmail.com wrote: I don't know the exact rules of module instance objects. Is it possible to reify the same module as multiple distinct instance objects in the same module loader context, or does the loader context cache a single instance

Sharing objects across modules (was: VirtualHandler fundamental traps default values)

2012-09-11 Thread David Bruant
Le 11/09/2012 21:14, Tom Van Cutsem a écrit : (...) Note that in ES6, Reflect should probably be represented as a module instance, not as a global object. So then Handler.prototype would inherit from a module instance object. I don't see anything necessarily wrong with that, but I just want

Re: Sharing objects across modules (was: VirtualHandler fundamental traps default values)

2012-09-11 Thread Tom Van Cutsem
2012/9/11 David Bruant bruan...@gmail.com Le 11/09/2012 21:14, Tom Van Cutsem a écrit : (...) Note that in ES6, Reflect should probably be represented as a module instance, not as a global object. So then Handler.prototype would inherit from a module instance object. I don't see anything