From 7bddeb4a7f52aa56c23efb039388e286895e5651 Mon Sep 17 00:00:00 2001 From: Richard Koshak Date: Thu, 23 Mar 2023 14:53:16 -0600 Subject: [PATCH] Standardize on `js` for SCRIPT (#14652) This has the add-on docs consistent with the main docs. Signed-off-by: Richard Koshak --- bundles/org.openhab.automation.jsscripting/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index a9749d482f8..a086f8df934 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