mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
65920afeeb
commit
4c7a01a911
6 changed files with 8 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ export class Plugin {
|
|||
public i18n: IObject;
|
||||
public eventBus: EventBus;
|
||||
public data: any = {};
|
||||
public displayName: string;
|
||||
public name: string;
|
||||
public protyleSlash: {
|
||||
filter: string[],
|
||||
|
|
@ -53,11 +54,13 @@ export class Plugin {
|
|||
constructor(options: {
|
||||
app: App,
|
||||
name: string,
|
||||
displayName: string,
|
||||
i18n: IObject
|
||||
}) {
|
||||
this.app = options.app;
|
||||
this.i18n = options.i18n;
|
||||
this.name = options.name;
|
||||
this.displayName = options.displayName;
|
||||
this.eventBus = new EventBus(options.name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue