From 72f6daa695545c57971a10cf68f0cf6b96026f32 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Fri, 14 Jun 2019 21:03:21 +0200 Subject: [PATCH] [FIX] playground: t-async leftover in sample --- 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 9e73bdd5..cb39cf83 100644 --- a/tools/playground/samples.js +++ b/tools/playground/samples.js @@ -1198,9 +1198,9 @@ const SLOTS_CSS = `.main { const ASYNC_COMPONENTS = `// This example will not work if your browser does not support ESNext class fields -// In this example, we have 2 sub widgets, one of them being async. However, we don't want renderings -// of the sync sub widget to be delayed because of the async one. We use the 't-async' directive for -// this purpose. +// In this example, we have 2 sub widgets, one of them being async. However, we +// don't want renderings of the sync sub widget to be delayed because of the +// async one. We use the 't-asyncroot' directive for this purpose. class App extends owl.Component { widgets = {AsyncChild, NotificationManager}; @@ -1241,7 +1241,7 @@ app.mount(document.body);`; const ASYNC_COMPONENTS_XML = `
- +