]> git.basschouten.com Git - openhab-addons.git/commitdiff
Standardize on `js` for SCRIPT (#14652)
authorRichard Koshak <rkoshak@users.noreply.github.com>
Thu, 23 Mar 2023 20:53:16 +0000 (14:53 -0600)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 20:53:16 +0000 (21:53 +0100)
This has the add-on docs consistent with the main docs.
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
bundles/org.openhab.automation.jsscripting/README.md

index a9749d482f80c17f11bc88ed5882119082d6133c..a086f8df9343f64ea2a1991fe2fb0f0bea60919b 100644 (file)
@@ -283,8 +283,8 @@ Use the `SCRIPT` transformation with JavaScript Scripting by:
    })(input);
    ```
 
-2. Using `SCRIPT(graaljs:<scriptname>.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:<scriptname>.script?arg=value):%s`.
+2. Using `SCRIPT(js:<scriptname>.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:<scriptname>.script?arg=value):%s`.
    Parameters are injected into the script and can be referenced like variables.
 
 ## Standard Library