Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6752

Remove ES6 checks from Q.js

    XMLWordPrintableJSON

Details

    Description

      Q.js, embedded by the org.apache.sling.scripting.sightly.js.provider bundle, performs some ES6 support checks. However, given that Rhino only provides support for ES 5.1, we should modify the embedded library to skip those checks, which throw handled exceptions in order to reduce the time it takes to load the Q promise library.

      Attachments

        Activity

          People

            radu Radu Cotescu
            radu Radu Cotescu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: