- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Fri, 7 Aug 2015 20:53:57 -0700
- To: Behrang Saeedzadeh <behrangsa@gmail.com>, whatwg <whatwg@whatwg.org>, Sébastien Cevey <seb.cevey@guardian.co.uk>
- Cc: EcmaScript Discuss Mailing List <es-discuss@mozilla.org>
On 8/7/15, Behrang Saeedzadeh <behrangsa@gmail.com> wrote: > Hi Sebastien, > Guys — > On Sun, Aug 2, 2015 at 10:38 PM Sébastien Cevey <seb.cevey@guardian.co.uk> > wrote: [...] >> Versions can be specified either at the top-level config, or even at the >> import level, e.g.: >> >> System.import('npm:lodash@3.10.0').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
Received on Saturday, 8 August 2015 03:54:24 UTC