[REF] move event_bus into utils, readd 2 functions

This commit is contained in:
Géry Debongnie
2021-11-13 16:21:01 +01:00
committed by Aaron Bohy
parent c1439814bf
commit 1658d15b87
7 changed files with 33 additions and 10 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {
toggler,
} from "./blockdom";
import { mainEventHandler } from "./component/handler";
import { EventBus, whenReady, loadFile } from "./utils";
config.shouldNormalizeDom = false;
config.mainEventHandler = mainEventHandler;
@@ -57,7 +58,7 @@ export { Memo } from "./misc/memo";
export { css, xml } from "./tags";
export { useState } from "./reactivity";
export { useRef } from "./refs";
export { EventBus } from "./event_bus";
export const utils = { EventBus, whenReady, loadFile };
export {
onWillStart,