With something like Babel, we should be able to transpile from JS 2 to JS 1 for 
backward compatibility. We are already doing it from ES6/ES7 to ES5.

 

From: Alexander Craggs [mailto:[email protected]] 
Sent: Tuesday, July 25, 2017 5:08 PM
To: doodad-js Admin <[email protected]>; [email protected]
Subject: RE: FW: Removal of language features

 

I think version interoperability is a must in a world of Webpack & Browserify.

On 25/07/2017 21:12:58, doodad-js Admin <[email protected] 
<mailto:[email protected]> > wrote:

*         How are you going to deal with scenarios that don't have extensions, 
e.g. REPL or inline JS.

 

For inline, that’ll be:

 

<script type=”application/javascript.2>...</script>

 

For REPL, I don’t know... I didn’t think about this one :-) It should be based 
of the content of the page. And I don’t know if we should allow to mix 
different versions together. That’s things we’ll have to clarify.

 

*         Are extensions going to be released often, or is this going to be a 
one time thing? 

 

Just at another new major revision of JS, which should not happen before a long 
time.

 

*         would it make more sense to start on js7 instead of js2

 

No, because ES6, ES7, ... are still JS 1.

 

 

From: Alexander Craggs [mailto:[email protected]] 
Sent: Tuesday, July 25, 2017 3:54 PM
To: doodad-js Admin <[email protected] <mailto:[email protected]> >; 
[email protected] <mailto:[email protected]> 
Subject: Re: FW: Removal of language features

 

I'm sorry, I missed that suggestion.

 

That definitely sounds significantly better than a new MIME type.  Although two 
thoughts I have are:

 

 - How are you going to deal with scenarios that don't have extensions, e.g. 
REPL or inline JS.

 

 - Are extensions going to be released often, or is this going to be a one time 
thing?  For example, would we increment the version number with the current JS 
version (js6, js7 etc) and if so, would it make more sense to start on js7 
instead of js2?

 


 
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
 

Virus-free.  
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
 www.avg.com 

 

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

Reply via email to