Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Scripting Sightly JS Use Provider 1.0.0
-
None
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.