Dynamic Modules Questions

Sam Tobin-Hochstadt samth at ccs.neu.edu
Thu Mar 7 04:18:40 PST 2013

On Mar 6, 2013 10:04 PM, "Kevin Smith" <khs4473 at gmail.com> wrote:
>> > 3) There doesn't appear to be a way to provide a dynamically created
>> > instance (created via the Module constructor) as the result of the
>> > hook.  My thought is that such a feature might be useful for
>> > dynamically linked binary add-on modules in server environments.
>> This is a good thought, and one we've considered.  Note that you can
>> simply dynamically add the module using `System.set` during the fetch
>> hook.
> This would imply that the result of the fetch hook is ignored if the
module has been installed in the module instance table before the hook
callbacks are executed.  True?

This is the same for all the loader hooks, in fact.

> Also, what is `System` exactly?  The base loader or something else?

Yes, System is the name we've chosen for the default loader.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130307/ca10c1f8/attachment.html>

More information about the es-discuss mailing list