jorendorff / js-loaders

Pseudoimplementation of the proposed ES6 module loaders.
54 stars 7 forks source link

Loader.prototype.load use case #56

Open guybedford opened 10 years ago

guybedford commented 10 years ago

As far as I can understand, Loader.prototype.load will load a module, link it, and populate in the module table, but without executing it?

Does this mean that the use case is effectively for preloading? Perhaps this could be clarified as it is not immediately clear at all.

johnjbarton commented 10 years ago

In the interest of reducing the API surface, accelerating implementation, and encouraging adoption by reducing confusing options, I suggest we drop this call altogether. We can always add it later.