You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2024/05/27 13:44:08 UTC
(sling-site) branch master updated: Fix section title (#165)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 9593f67a4 Fix section title (#165)
9593f67a4 is described below
commit 9593f67a4496c1d10b81bd8a8a181a6b24404a0c
Author: Paulo Chang <pi...@gmail.com>
AuthorDate: Mon May 27 15:44:04 2024 +0200
Fix section title (#165)
The "Passing parameters to Javascript Use-Objects" section had some extra # in its formatting
---
src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md b/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
index f1f74604b..ac8f7a0fb 100644
--- a/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
+++ b/src/main/jbake/content/documentation/bundles/scripting/scripting-htl.md
@@ -342,7 +342,7 @@ Besides the global objects available to all Use Providers, the JavaScript Use Pr
With the exception of the `console` and `use` objects, all the other global objects implemented by the JavaScript Use Provider are present in order to support the asynchronous Resource-API implemented by `org.apache.sling.scripting.sightly.js.provider`. However, this was deprecated starting with version 1.0.8 - see [SLING-4964](https://issues.apache.org/jira/browse/SLING-4964).
-#### #### Passing parameters to JavaScript Use-objects
+#### Passing parameters to JavaScript Use-objects
Passed parameters will be made available to the Use object as properties of `this`. Assuming the following markup:
<div data-sly-use.logic="${'logic.js' @ colour='red', year=2017}">