[
https://issues.apache.org/jira/browse/SLING-5266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061680#comment-15061680
]
ASF GitHub Bot commented on SLING-5266:
---------------------------------------
GitHub user welcomemandeep opened a pull request:
https://github.com/apache/sling/pull/118
SLING-5266 Export org.mozilla.javascript.ast package
Currently Sling Scripting Javascript Support only exports
org.mozilla.javascript package which is sufficient for evaluating javascript
using Rhino but to convert expressions to parsed AST we need
org.mozilla.javascript.ast
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/welcomemandeep/sling trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/118.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #118
----
commit 4c5f97d1b478208afa38baea04db170a7b76687c
Author: Mandeep Gandhi <[email protected]>
Date: 2015-12-17T07:54:40Z
SLING-5266 Export org.mozilla.javascript.ast package
Currently Sling Scripting Javascript Support only exports
org.mozilla.javascript package which is sufficient for evaluating javascript
using Rhino but to convert expressions to parsed AST we need
org.mozilla.javascript.ast
----
> Exporting org.mozilla.javascript.ast package in
> org.apache.sling.scripting.javascript bundle
> ----------------------------------------------------------------------------------------------
>
> Key: SLING-5266
> URL: https://issues.apache.org/jira/browse/SLING-5266
> Project: Sling
> Issue Type: Task
> Components: Scripting
> Reporter: Mandeep Gandhi
> Priority: Critical
> Attachments: SLING-5266.patch
>
>
> There is a need of parsing javascript expression. For achieving this, there
> is a requirement of adding org.mozilla.javascript.ast package to the existing
> bundle (org.apache.sling.scripting.javascript ) and exporting it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)