From: Richard Koshak Date: Thu, 23 Mar 2023 20:53:16 +0000 (-0600) Subject: Standardize on `js` for SCRIPT (#14652) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=7bddeb4a7f52aa56c23efb039388e286895e5651;p=openhab-addons.git Standardize on `js` for SCRIPT (#14652) This has the add-on docs consistent with the main docs. Signed-off-by: Richard Koshak --- diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index a9749d482f..a086f8df93 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -283,8 +283,8 @@ Use the `SCRIPT` transformation with JavaScript Scripting by: })(input); ``` -2. Using `SCRIPT(graaljs:.script):%s` as the transformation profile, e.g. on an Item. -3. Passing parameters is also possible by using a URL like syntax: `SCRIPT(graaljs:.script?arg=value):%s`. +2. Using `SCRIPT(js:.script):%s` as the transformation profile, e.g. on an Item. +3. Passing parameters is also possible by using a URL like syntax: `SCRIPT(js:.script?arg=value):%s`. Parameters are injected into the script and can be referenced like variables. ## Standard Library