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 = `
- +