mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
This commit is contained in:
parent
72d1a059ac
commit
d10b25c2ca
18 changed files with 44 additions and 45 deletions
|
|
@ -8,9 +8,6 @@ export class EventBus<DetailType = any> {
|
|||
}
|
||||
|
||||
on(type: TEventBus, listener: (event: CustomEvent<DetailType>) => void) {
|
||||
if (type ==="loaded-protyle") {
|
||||
console.warn("0.8.8 将移除 loaded-protyle, 请使用 loaded-protyle-static 进行替代");
|
||||
}
|
||||
this.eventTarget.addEventListener(type, listener);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue