Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12619

Don't use ECMAScript6 in Admin UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: Admin UI
    • Labels:
      None

      Description

      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, the keyword let is used which is an ES6 feature. Dennis Gove 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              janhoy Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: