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:
parent
a0f442e785
commit
7bddeb4a7f
|
@ -283,8 +283,8 @@ Use the `SCRIPT` transformation with JavaScript Scripting by:
|
||||||
})(input);
|
})(input);
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Using `SCRIPT(graaljs:<scriptname>.script):%s` as the transformation profile, e.g. on an Item.
|
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(graaljs:<scriptname>.script?arg=value):%s`.
|
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.
|
Parameters are injected into the script and can be referenced like variables.
|
||||||
|
|
||||||
## Standard Library
|
## Standard Library
|
||||||
|
|
Loading…
Reference in New Issue