Modules and dependencies known before the load

Juan Ignacio Dopazo jdopazo at yahoo-inc.com
Wed Aug 13 19:02:03 PDT 2014


For prefetching we're calling LoadModule() for all the dependencies we want to prefetch in the Fetch or Locate hooks.
For example, Systemjs has a System.depCache option which allows you to define dependencies ahead of time. Here's the hook implementation: https://github.com/systemjs/systemjs/blob/master/lib/extension-depCache.js.
- Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140814/8c725a39/attachment.html>


More information about the es-discuss mailing list