Standard modules - concept or concrete?

Kevin Smith zenparsing at gmail.com
Fri Jun 21 05:40:36 PDT 2013


Not sure how to answer your question exactly, James, but the takeaway is
that under the current design, it is not sufficient to "import"
global-object polyfills from the module that uses the polyfills.  Global
object polyfills must be loaded in a *prior* compilation/execution cycle.

Bascially, you'll have to somehow (a) setup your global object with
polyfills, and then (b) load your main module, with (a) and (b) happening
in separate stages.

{ Kevin }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130621/6763717c/attachment.html>


More information about the es-discuss mailing list