瀏覽代碼

Fix leftover reference to ScriptModule in native script docs

Ryan Ernst 9 年之前
父節點
當前提交
914664d89a
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: