commit | a8e32cd669f762f38299325db9335bf7cf5df76b | [log] [tgz] |
---|---|---|
author | Radu Cotescu <radu@apache.org> | Thu Jul 30 15:51:49 2020 +0200 |
committer | Radu Cotescu <radu@apache.org> | Thu Jul 30 15:51:49 2020 +0200 |
tree | 2ca74e2d5a2cb606e9264925bb6478edfa4fe341 | |
parent | 7889584fcd338eae932aff1925f951ea288a928e [diff] |
SLING-9619 - The JavaScript Use Provider does not allow loading scripts relative to search paths any more * check first if the dependency can be obtained as a resource relative to the search paths; * if the dependency was not found, check the resource type hierarchy which drives the rendering * if the dependency was not found, check the script as a relative path to the current script
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
.