f you read the Loader source carefully you can see that Jason fixed the Loader to support inheritance. But his fix does not allow classes to inherit the platform's loading behavior. That behavior is given in options properties passed to instances. By defining the system loader as an instance of a SystemLoader extending Loader, the platform behavior would be extendable and the Loader would be ES6 not merely class-friendly.
On Mon, Aug 4, 2014 at 6:40 PM, Kevin Smith <zenpars...@gmail.com> wrote: > >> On Mon, Aug 4, 2014 at 6:33 PM, Kevin Smith <zenpars...@gmail.com> wrote: >> >>> If I understand correctly, John was wanting to use a state-carrying >>> options as the options argument when specifying hook overrides. >>> >> >> What part of this has anything to do with ES6 classes? >> > > As far as I can tell, nothing. Looks like good work was done to make > Loader class-friendly. > >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss