mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
add router service, better structure for demo app
This commit is contained in:
@@ -6,8 +6,7 @@ function makeWidget(W: typeof Widget): Widget {
|
||||
qweb: new QWeb(),
|
||||
services: {}
|
||||
};
|
||||
const w = new W(null);
|
||||
w.setEnvironment(env);
|
||||
const w = new W(env);
|
||||
return w;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user