[ 
https://issues.apache.org/jira/browse/SOLR-12619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511994#comment-17511994
 ] 

Eric Pugh commented on SOLR-12619:
----------------------------------

I wondered about the title of this one, and did some googling....

https://askinglot.com/can-i-use-ecmascript-6
https://caniuse.com/es6

Both of these sites, if I am interpreting it right, suggest that these days ES6 
is fine to use with modern browsers?   Could we close this ticket?

Now, as far as the lint side of things, that makes sense to clean up!

> Don't use ECMAScript6 in Admin UI
> ---------------------------------
>
>                 Key: SOLR-12619
>                 URL: https://issues.apache.org/jira/browse/SOLR-12619
>             Project: Solr
>          Issue Type: Bug
>          Components: Admin UI
>            Reporter: Jan Høydahl
>            Priority: Major
>
> Spinoff from SOLR-8207
> Since we don't traspile our JS but send it straight to endusers browsers, we 
> should make sure to stay on language level 5 of JS/ES.
> In 
> [stream.js|https://github.com/apache/lucene-solr/blob/e2521b2a8baabdaf43b92192588f51e042d21e97/solr/webapp/web/js/angular/controllers/stream.js#L97],
>  the keyword {{let}} is used which is an ES6 feature. [~dpgove] will you have 
> a look? This is code from 2006 so probably most users have modern browsers, 
> but still..
> We should also look through rest of JS for similar warnings.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to