From f04423da2388fa3ad365ab3c7ed37128f436a716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 8 Mar 2022 09:22:29 +0100 Subject: [PATCH] [FIX] playground: properly set dev flag in examples --- tools/playground/samples.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/playground/samples.js b/tools/playground/samples.js index d5db72aea..8299d6731 100644 --- a/tools/playground/samples.js +++ b/tools/playground/samples.js @@ -24,8 +24,7 @@ class Root extends Component { } } -// dev=false for benchmarking. we don't want to benchmark dev code! -mount(Root, document.body, { templates: TEMPLATES, dev: false });`; +mount(Root, document.body, { templates: TEMPLATES, dev: true });`; const COMPONENTS_XML = /*xml*/` @@ -934,7 +933,7 @@ const env = { ui: createUI() }; -mount(Root, document.body, { templates: TEMPLATES, env }); +mount(Root, document.body, { templates: TEMPLATES, env, dev: true }); `; const RESPONSIVE_XML = /*xml*/` @@ -1741,7 +1740,8 @@ class Root extends Component { } -mount(Root, document.body, { templates: TEMPLATES, dev: true }); +// dev=false for benchmarking. we don't want to benchmark dev code! +mount(Root, document.body, { templates: TEMPLATES, dev: false }); `;