On Mon, Aug 11, 2014 at 8:06 PM, Ian Hickson <i...@hixie.ch> wrote: > > So I'm trying to figure out how to spec the HTML spec's Loader. > > One of the things that we're likely to add as part of this is a generic > dependency system. Authors have long asked to be able to do things like > define that their scripts depend on CSS or images or whatnot. If we > introduce a global attribute for this is HTML, say needs="", then it will > be possible to do something like: > > <script type=module needs="foo" href="foo.js"></script> > > ...where "foo" is an ID to some other element. > > So far so good.
Unless the module has >1 dependency. Rick
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss