[FIX] examples: adapt todoapp to new owl structure

This commit is contained in:
Géry Debongnie
2019-04-16 17:17:44 +02:00
parent a22dcdaddf
commit e5e6c50fff
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ async function makeEnv() {
}
let templates = await result.text();
templates = templates.replace(/<!--[\s\S]*?-->/g, "");
const qweb = new owl.core.QWeb();
const qweb = new owl.QWeb();
qweb.loadTemplates(templates);
return {
qweb,