I'm not sure how this would be done best or how useful it would be, but: has 
dependency injection been considered as a use case for modules (e.g. to swap 
modules during testing)?

One possibility might be to give modules parameters that module clients have to 
provide.

Axel

-- 
Dr. Axel Rauschmayer

a...@rauschma.de
twitter.com/rauschma

home: rauschma.de
blog: 2ality.com



_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to