[IMP] owl: update to v1.0.0-alpha2

This commit is contained in:
Géry Debongnie
2019-11-01 09:16:27 +01:00
parent 71a6091772
commit 573e379af4
3 changed files with 43 additions and 57 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ function makeCodeIframe(js, css, xml, errorHandler) {
owl.__info__.mode = 'dev';
let templates = \`${sanitizedXML}\`;
const qweb = new owl.QWeb({ templates });
owl.config.env = { qweb };
owl.Component.env = { qweb };
}
${js}`;
script.innerHTML = content;
@@ -443,7 +443,7 @@ async function start() {
owl.utils.whenReady()
]);
const qweb = new owl.QWeb({ templates });
owl.config.env = { qweb };
owl.Component.env = { qweb };
const app = new App();
app.mount(document.body);
}