Browse Source

Fix leftover reference to ScriptModule in native script docs

Ryan Ernst 9 years ago
parent
commit
914664d89a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/modules/scripting/native.asciidoc

+ 2 - 2
docs/reference/modules/scripting/native.asciidoc

@@ -13,8 +13,8 @@ to construct the script. The actual script will extend either
 `AbstractExecutableScript` or `AbstractSearchScript`. The second one is likely
 the most useful and has several helpful subclasses you can extend like
 `AbstractLongSearchScript` and `AbstractDoubleSearchScript`.
-Finally, your plugin should register the native
-script by declaring the `onModule(ScriptModule)` method.
+Finally, your plugin should register the native script by implementing the
+`ScriptPlugin` interface.
 
 If you squashed the whole thing into one class it'd look like: