Re: detecting JS language mode for tools

2014-01-26 Thread Brian Di Palma
In-Reply-To= 5B36C364-13FF-44AA-9B01-4ABC25AB4D65%40wirfs-brock.com Regarding the .jsm suggestion, a colleague suggested .es, no need for the m as you could say all ES files are modules. ___ es-discuss mailing list es-discuss@mozilla.org

Re: detecting JS language mode for tools

2014-01-26 Thread David Sheets
On Sat, Jan 25, 2014 at 11:26 PM, Brendan Eich bren...@mozilla.com wrote: David Sheets wrote: . Old browsers ignore the new attribute will process the content, which could be written to work both ways. Is a new attribute necessary? What about using @type? Old browsers will ignore

Re: detecting JS language mode for tools

2014-01-26 Thread Brendan Eich
David Sheets wrote: On Sat, Jan 25, 2014 at 11:26 PM, Brendan Eichbren...@mozilla.com wrote: David Sheets wrote: . Old browsers ignore the new attribute will process the content, which could be written to work both ways. Is a new attribute necessary? What about using @type?

Re: detecting JS language mode for tools

2014-01-26 Thread David Sheets
On Mon, Jan 27, 2014 at 1:29 AM, Brendan Eich bren...@mozilla.com wrote: David Sheets wrote: On Sat, Jan 25, 2014 at 11:26 PM, Brendan Eichbren...@mozilla.com wrote: David Sheets wrote: . Old browsers ignore the new attribute will process the content, which could be written

Re: detecting JS language mode for tools

2014-01-26 Thread Kevin Smith
Is a new attribute necessary? What about using @type? Old browsers will ignore unknown types, losing the two-way fallback option. Two-way fallback? Why is that important? Since modules are implicitly strict, there is little intersection between scripts and modules.

Re: detecting JS language mode for tools

2014-01-26 Thread Brendan Eich
David Sheets wrote: There is no out-of-band metadata in a new script attribute. Attributes are data, not data-about-data, and in-band in HTML. The channel is the contents of the script element or the ES resource. The attribute is not transmitted in the contents of the script element or ES

Re: detecting JS language mode for tools

2014-01-26 Thread Brendan Eich
Kevin Smith wrote: Is a new attribute necessary? What about using @type? Old browsers will ignore unknown types, losing the two-way fallback option. Two-way fallback? Why is that important? Since modules are implicitly strict, there is little intersection between scripts

Re: detecting JS language mode for tools

2014-01-26 Thread Kevin Smith
Once you focus on inline bodies, you face harsh adoption barriers without enabling works-in-old-and-new coding. OK, I follow. ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss