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 12:50:41 UTC

[jira] [Updated] (SLING-6752) Remove ES6 checks from Q.js

     [ https://issues.apache.org/jira/browse/SLING-6752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu updated SLING-6752:
--------------------------------
    Summary: Remove ES6 checks from Q.js  (was: Removed ES6 checks from Q.js)

> Remove 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)