> > > We are actually using state a lot for configuration. And there's ongoing > discussion about how to do it. So far we've been extending the Loader > instance with our own properties (e.g. loader.depCache = {}). The main > reason is that we want our extensions to the loader to work both on new > instances of the Loader class and on the System loader, which can't be > subclassed. >
Curious: why can't the system loader be subclassed? I get that `System` is an instance, but why can't you subclass whatever the `System` instance is based on?
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss