From 4ca0a157e38091ca19135e4e532067dca8c9ac6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 21 May 2019 18:08:32 +0200 Subject: [PATCH] [IMP] playground: set owl mode to 'dev'; --- extras/playground/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/playground/app.js b/extras/playground/app.js index 1bc6ed24..1a211c83 100644 --- a/extras/playground/app.js +++ b/extras/playground/app.js @@ -84,7 +84,7 @@ function makeCodeIframe(js, css, xml, errorHandler) { owlScript.addEventListener("load", () => { const script = doc.createElement("script"); script.type = "text/javascript"; - const content = `window.TEMPLATES = \`${sanitizedXML}\`\n${js}`; + const content = `owl.__info__.mode = 'dev';\nwindow.TEMPLATES = \`${sanitizedXML}\`\n${js}`; script.innerHTML = content; iframe.contentWindow.addEventListener("error", errorHandler); iframe.contentWindow.addEventListener("unhandledrejection", errorHandler);