Jan Høydahl created SOLR-12619:
----------------------------------

             Summary: Don't use ECMAScript6 in Admin UI
                 Key: SOLR-12619
                 URL: https://issues.apache.org/jira/browse/SOLR-12619
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Admin UI
            Reporter: Jan Høydahl
             Fix For: master (8.0), 7.5


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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to