> IMO a better design would have each platform subclass Loader, eg > SystemLoader extends Loader and System (or 'system' if we decide to > suddenly come to our senses) would be an instance of SystemLoader. > SystemLoader would define the hook functions and custom Loader classes > would extend SystemLoader to add features. Custom loaders probably don't > want to re-implement the hooks so much as augment them. The SystemLoader > would support this naturally. >
+1 Also +1 to renaming "System" something more sensible.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

