On Oct 19, 2014, at 5:42 PM, Mark Volkmann wrote:

> Can we say anything more concrete if we restrict the discussion to modern 
> browsers as opposed to non-browser ES engines? Is it fair to say that in 
> those environments a file will always be treated as a module if it is 
> imported by another file that the browser has loaded?

Files that are named in the from clause of an import declaration are always 
parsed as a Module.  It is only files that are externally identified (ie, not 
via an import) that need to be identified as either a Script or a Module.

Allen 

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to