On 8/7/15, Behrang Saeedzadeh <[email protected]> wrote: > Hi Sebastien, >
Guys — > On Sun, Aug 2, 2015 at 10:38 PM Sébastien Cevey <[email protected]> > wrote: [...] >> Versions can be specified either at the top-level config, or even at the >> import level, e.g.: >> >> System.import('npm:[email protected]').then(function(_) { >> console.log(_.max([1, 2, 3, 4])); >> }); >> >> That looks like the client (browser) would need to fetch the dependency list and mapping? Declarative chain of responsibility pattern was proposed years ago. The idea is different: It works more like ANT <target>s, where dependencies are declared right there in the document itself. The thread got some noise and then it died. <script src="fabric.js" async id="fabric"> <script depends="fabric"> alert("loaded!"); </script> -- Garrett @xkit ChordCycles.wordpress.com garretts.github.io personx.tumblr.com _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

