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 2015/08/25 00:29:46 UTC

[jira] [Created] (SLING-4964) Deprecate the asynchronous JavaScript API provided by the Sightly JS Use Provider

Radu Cotescu created SLING-4964:
-----------------------------------

             Summary: Deprecate the asynchronous JavaScript API provided by the Sightly JS Use Provider
                 Key: SLING-4964
                 URL: https://issues.apache.org/jira/browse/SLING-4964
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting Sightly JS Use Provider 1.0.8
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting Sightly JS Use Provider 1.0.10


With the improvement of the API provided by the {{org.apache.sling.scripting.javascript}} bundle, the asynchronous promise-based API provided by the Sightly JS Use Provider bundle is redundant.

Deprecating the API together with conditionally loading the support for it only when detecting that a Use object actually needs the API namespaces should help in optimising the execution speed for JavaScript Use objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)