[
https://issues.apache.org/jira/browse/SLING-6752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-6752.
---------------------------------
Resolution: Fixed
Fixed in [r1789518|https://svn.apache.org/r1789518].
> 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)