Re: Adding out-of-band dependencies for a module

2014-08-12 Thread Ian Hickson
On Tue, 12 Aug 2014, Rick Waldron wrote: > On Mon, Aug 11, 2014 at 8:06 PM, Ian Hickson wrote: > > > > 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 o

Re: Adding out-of-band dependencies for a module

2014-08-12 Thread Rick Waldron
On Mon, Aug 11, 2014 at 8:06 PM, Ian Hickson 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

Re: Adding out-of-band dependencies for a module

2014-08-12 Thread Ian Hickson
On Tue, 12 Aug 2014, David Herman wrote: > On Aug 11, 2014, at 5:06 PM, Ian Hickson wrote: > > > So I'm trying to figure out how to spec the HTML spec's Loader. > > We should coordinate -- I've been actively working on this (not the spec > per se, but the design) with people engaged in the JS m

Re: Adding out-of-band dependencies for a module

2014-08-12 Thread David Herman
On Aug 11, 2014, at 5:06 PM, Ian Hickson wrote: > So I'm trying to figure out how to spec the HTML spec's Loader. We should coordinate -- I've been actively working on this (not the spec per se, but the design) with people engaged in the JS modules work. The HTML default loader design has some

Adding out-of-band dependencies for a module

2014-08-11 Thread Ian Hickson
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