Fixed example code error in plugin docs
This commit is contained in:
@@ -9,7 +9,7 @@ A plugin is a js file with a header. for example:
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
//@name exampleplugin
|
//@name exampleplugin
|
||||||
//display-name: Example Plugin
|
//@display-name Example Plugin
|
||||||
|
|
||||||
// Plugin code here
|
// Plugin code here
|
||||||
```
|
```
|
||||||
@@ -163,4 +163,4 @@ The plugin system has been updated to V2. The following changes have been made:
|
|||||||
- `addCharaJs` function has been removed. use `addRisuScriptHandler` instead.
|
- `addCharaJs` function has been removed. use `addRisuScriptHandler` instead.
|
||||||
- `risuLog` function has been removed. use `console.log` instead.
|
- `risuLog` function has been removed. use `console.log` instead.
|
||||||
- Many security restrictions have been removed.
|
- Many security restrictions have been removed.
|
||||||
- `@risu-name`, `@risu-display-name`, `@risu-arg` headers has been removed. use `@name`, `@display-name`, `@arg` instead. if it's not present, it will be ran as V1 plugin.
|
- `@risu-name`, `@risu-display-name`, `@risu-arg` headers has been removed. use `@name`, `@display-name`, `@arg` instead. if it's not present, it will be ran as V1 plugin.
|
||||||
|
|||||||
Reference in New Issue
Block a user