Any news about the `<module>` element?

Caridy Patino caridy at gmail.com
Sun Dec 21 17:18:59 PST 2014


Allen, that's my hope. It will be ideal, and it solves web workers and service workers use cases, but we need implementers to chime in.

Sent from my iPhone

> On Dec 21, 2014, at 5:52 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 
> 
>> On Dec 20, 2014, at 6:21 PM, Caridy Patino wrote:
>> 
>> The problem is that those inline modules might import other modules, e.g.:
> 
> But because of the improved semantics (implicit strict, file local declaration scope, etc.)  we really would like to see a world where people use type=modules for everything including very simple inline scripts that block rendering.  Also, it's a fairly easy parse to determine whether a script source contains an import statement or not.
> 
> Allen
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141221/9acd385c/attachment.html>


More information about the es-discuss mailing list