Skip to content

Commit 529e398

Browse files
authored
docs: selector engine script type (#5450)
1 parent 7e7d3db commit 529e398

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/src/api/class-selectors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,20 @@ Name that is used in selectors as a prefix, e.g. `{name: 'foo'}` enables `foo=my
5757
contain `[a-zA-Z0-9_]` characters.
5858

5959
### param: Selectors.register.script
60-
* langs: java, js
60+
* langs: js
6161
- `script` <[function]|[string]|[Object]>
6262
- `path` <[path]> Path to the JavaScript file. If `path` is a relative path, then it is resolved relative to the
6363
current working directory. Optional.
6464
- `content` <[string]> Raw script content. Optional.
6565

6666
Script that evaluates to a selector engine instance.
6767

68+
### param: Selectors.register.script
69+
* langs: csharp, java
70+
- `script` <[string]|[path]>
71+
72+
Script that evaluates to a selector engine instance.
73+
6874
### option: Selectors.register.contentScript
6975
- `contentScript` <[boolean]>
7076

0 commit comments

Comments
 (0)