mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] move event_bus into utils, readd 2 functions
This commit is contained in:
committed by
Samuel Degueldre
parent
d4c4fe853e
commit
63bfdfb8db
+2
-1
@@ -31,7 +31,7 @@ export class App<T extends typeof Component = any> extends TemplateSet {
|
||||
this.props = props;
|
||||
}
|
||||
|
||||
configure(config: Config) {
|
||||
configure(config: Config): App<T> {
|
||||
if (config.dev) {
|
||||
this.dev = config.dev;
|
||||
console.info(DEV_MSG);
|
||||
@@ -46,6 +46,7 @@ export class App<T extends typeof Component = any> extends TemplateSet {
|
||||
if (config.translatableAttributes) {
|
||||
this.translatableAttributes = config.translatableAttributes;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
mount(target: HTMLElement, options?: MountOptions): Promise<InstanceType<T>> {
|
||||
|
||||
Reference in New Issue
Block a user