John Barton (2014-09-28T17:41:45.000Z)
domenic at domenicdenicola.com (2014-09-30T16:52:36.974Z)
What is wrong with Loader.get()? > Reflect.Loader.prototype.get ( name ) > If this Loader's module registry > contains a Module with the given normalized name, return it. Otherwise, > return undefined. If the module is in the registry but has never been > evaluated, first synchronously evaluate the bodies of the module and any > dependencies that have not evaluated yet. But more important perhaps, what is wrong with asynchronous loads? The System.import() promises a module after loading all of its dependencies; previously imported modules are not reloaded. This code can be used in development, then in production the bundled modules can be prefixed to load the registry and the same call executes the same app. If this scheme is not going to work now is the time to sort it out.
domenic at domenicdenicola.com (2014-09-30T16:52:18.092Z)
What is wrong with Loader.get()? Reflect.Loader.prototype.get ( name )If this Loader's module registry contains a Module with the given normalized name, return it. Otherwise, return undefined. If the module is in the registry but has never been evaluated, first synchronously evaluate the bodies of the module and any dependencies that have not evaluated yet. But more important perhaps, what is wrong with asynchronous loads? The System.import() promises a module after loading all of its dependencies; previously imported modules are not reloaded. This code can be used in development, then in production the bundled modules can be prefixed to load the registry and the same call executes the same app. If this scheme is not going to work now is the time to sort it out.