mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
imp: improve benchmark code
This commit is contained in:
+3
-3
@@ -168,9 +168,9 @@ class App extends owl.core.Component {
|
||||
//------------------------------------------------------------------------------
|
||||
// Application initialization
|
||||
//------------------------------------------------------------------------------
|
||||
const qweb = new owl.core.QWeb();
|
||||
qweb.loadTemplates(TEMPLATES);
|
||||
const env = {qweb};
|
||||
const env = {
|
||||
qweb: new owl.core.QWeb(TEMPLATES)
|
||||
};
|
||||
|
||||
const app = new App(env);
|
||||
app.mount(document.body);
|
||||
|
||||
Reference in New Issue
Block a user