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