SLING-9657 - Same-name JS Use dependencies are not always correctly resolved

* pick the dependency based on the resource type hierarchy, starting from
either the caller or the request driver - whichever is the deepest resource
in the resource type hierarchy
1 file changed
tree: 06bdf9e43bef8983df5844622dcff135e7d3e506
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Build Status Maven Central JavaDocs License scripting

Apache Sling Scripting HTL JavaScript Use Provider

This module is part of the Apache Sling project.

This bundle allows HTL‘s Use API to access JS scripts. It also wraps Sling’s JS engine in a simulated event loop.

The bundle also contains a bindings values provider that adds an API layer accessible from HTL & JS. The implementation of that API can be found in src/main/resources/SLING-INF.