1
0
mirror of synced 2025-11-06 04:21:11 +08:00

feat: allow spaces in plugin name

This commit is contained in:
redhoodsu
2024-07-16 17:33:55 +08:00
parent c818a46b86
commit 447d3633fb
2 changed files with 15 additions and 10 deletions

View File

@@ -89,7 +89,7 @@
var Tool = eruda.Tool
eruda.add(
new (Tool.extend({
name: 'test3',
name: 'test plugin',
init: function ($el) {
this.callSuper(Tool, 'init', arguments)
this._$el.html('This is another new plugin')