Standardize on js for SCRIPT (#14652)

This has the add-on docs consistent with the main docs.
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
This commit is contained in:
Richard Koshak 2023-03-23 14:53:16 -06:00 committed by GitHub
parent a0f442e785
commit 7bddeb4a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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