You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tan Huynh (JIRA)" <ji...@apache.org> on 2016/05/17 17:31:12 UTC

[jira] [Updated] (SLING-5731) Export the org.mozilla.javascript.tools package in org.apache.sling.scripting.javascript bundle

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

Tan Huynh updated SLING-5731:
-----------------------------
    Attachment: sling-javascript.diff

Attached is the patch for this bug.

> Export the org.mozilla.javascript.tools package in org.apache.sling.scripting.javascript bundle
> -----------------------------------------------------------------------------------------------
>
>                 Key: SLING-5731
>                 URL: https://issues.apache.org/jira/browse/SLING-5731
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Tan Huynh
>         Attachments: sling-javascript.diff
>
>
> We would like to use the [handlebars template engine |https://github.com/jknack/handlebars.java] in our Sling application.  This bundle has a dependency on the [Rhino Javascript engine |https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino].  
> The two packages that the Handlebars bundle imports from the Rhino bundle are 
> * org.mozilla.javascript 
> * org.mozilla.javascript.tools. 
>  
> The Sling javascript bundle already exports the first package, it would be great if it also exports the second package so that we won't have to deploy the Rhino javascript bundle to be able to use handlebars.



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