How are modules imported from a ScriptBody without System?

Isiah Meadows impinball at gmail.com
Mon Dec 8 08:23:59 PST 2014


Without the System loader, it is no longer clear to me from within the
spec how modules are supposed to be imported within normal scripts
(e.g. in web pages).

Formerly, this was done via `System.import()`.

Also, this removal seems to have left quite a bit of spec equivalent
to dead code, along with a few other inconsistencies, most notably a
distinct disconnect between loading a ModuleBody and a ScriptBody,
with no apparent way for a ScriptBody to load a ModuleBody. This
concerns me a little.

-- 
Isiah Meadows


More information about the es-discuss mailing list