[FIX] tooling: properly set playground in dev mode

It was not in dev mode since changes to config system
This commit is contained in:
Géry Debongnie
2019-11-10 23:20:22 +01:00
committed by aab-odoo
parent e47f604449
commit c5a80497ac
+1 -1
View File
@@ -92,7 +92,7 @@ function makeCodeIframe(js, css, xml, errorHandler) {
script.type = "text/javascript"; script.type = "text/javascript";
const content = ` const content = `
{ {
owl.__info__.mode = 'dev'; owl.config.mode = 'dev';
let templates = \`${sanitizedXML}\`; let templates = \`${sanitizedXML}\`;
const qweb = new owl.QWeb({ templates }); const qweb = new owl.QWeb({ templates });
owl.Component.env = { qweb }; owl.Component.env = { qweb };