sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (JIRA)" <>
Subject [jira] [Created] (SLING-6752) Removed ES6 checks from Q.js
Date Thu, 30 Mar 2017 09:13:41 GMT
Radu Cotescu created SLING-6752:

             Summary: Removed ES6 checks from Q.js
                 Key: SLING-6752
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting Sightly JS Use Provider 1.0.0
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
            Priority: Minor
             Fix For: Scripting HTL JS Use Provider 1.0.22

{{Q.js}}, embedded by the {{}} 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.

This message was sent by Atlassian JIRA

View raw message