Fix leftover reference to ScriptModule in native script docs
This commit is contained in:
parent
df2a5e7691
commit
914664d89a
|
@ -13,8 +13,8 @@ to construct the script. The actual script will extend either
|
||||||
`AbstractExecutableScript` or `AbstractSearchScript`. The second one is likely
|
`AbstractExecutableScript` or `AbstractSearchScript`. The second one is likely
|
||||||
the most useful and has several helpful subclasses you can extend like
|
the most useful and has several helpful subclasses you can extend like
|
||||||
`AbstractLongSearchScript` and `AbstractDoubleSearchScript`.
|
`AbstractLongSearchScript` and `AbstractDoubleSearchScript`.
|
||||||
Finally, your plugin should register the native
|
Finally, your plugin should register the native script by implementing the
|
||||||
script by declaring the `onModule(ScriptModule)` method.
|
`ScriptPlugin` interface.
|
||||||
|
|
||||||
If you squashed the whole thing into one class it'd look like:
|
If you squashed the whole thing into one class it'd look like:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue