[ https://issues.apache.org/jira/browse/SLING-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497908#comment-14497908 ]
Radu Cotescu commented on SLING-3413: ------------------------------------- Pushed a potential fix in [r1674040|https://svn.apache.org/r1674040], incorporating parts of [~justinedelson]'s patch. [~justinedelson], could you please review this? If everything looks good to you I'd start a 2.0.16 release for this bundle. > Extend the JavaScript Resource API > ---------------------------------- > > Key: SLING-3413 > URL: https://issues.apache.org/jira/browse/SLING-3413 > Project: Sling > Issue Type: Improvement > Components: Scripting > Affects Versions: Scripting JavaScript 2.0.12 > Reporter: Justin Edelson > Assignee: Radu Cotescu > Fix For: Scripting JavaScript 2.0.16 > > > The JS API used to wrap Resources doesn't support getting a list of children > or the resource's name as these methods on the Resource interface post-date > the last update to the JS API. The JS API should be brought up to date and > provide support for the following: > * getChild(String) > * getChildren() > * getName() > * getParent() > * isResourceType(String) > * listChildren() -- This message was sent by Atlassian JIRA (v6.3.4#6332)