Radu Cotescu created SLING-4506:
-----------------------------------
Summary: Java APIs not consistently available in JavaScript
Key: SLING-4506
URL: https://issues.apache.org/jira/browse/SLING-4506
Project: Sling
Issue Type: Bug
Components: Scripting
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting Sightly JS Use Provider 1.0.0
Some Use API methods are not consistent between the Java and the JavaScript
implementations.
The {{$\{resource.getName\}}} expression works in Sightly but
{{resource.getName()}} throws an error in JavaScript Use objects:
{noformat}
org.mozilla.javascript.EcmaError: TypeError: Cannot find function getName
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)