You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/03/30 09:13:41 UTC

[jira] [Created] (SLING-6752) Removed ES6 checks from Q.js

Radu Cotescu created SLING-6752:
-----------------------------------

             Summary: Removed ES6 checks from Q.js
                 Key: SLING-6752
                 URL: https://issues.apache.org/jira/browse/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 {{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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)