From c0a62dfd05e907fa1e0a880b652d0f9526929ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Mon, 20 Sep 2021 15:31:41 +0200 Subject: [PATCH] [DOC] clarify tutorial The part about setting up the various files did not express clearly that we need the iife file, not the cjs. --- doc/learning/tutorial_todoapp.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/learning/tutorial_todoapp.md b/doc/learning/tutorial_todoapp.md index fa87cf32..912d2626 100644 --- a/doc/learning/tutorial_todoapp.md +++ b/doc/learning/tutorial_todoapp.md @@ -70,7 +70,9 @@ just put the following code: Note that we put everything inside an immediately executed function to avoid leaking anything to the global scope. -Finally, `owl.js` should be the last version downloaded from the Owl repository (you can use `owl.min.js` if you prefer). +Finally, `owl.js` should be the last version downloaded from the Owl repository (you can use `owl.min.js` if you prefer). Be aware that you should download the `owl.iife.js` or `owl.iife.min.js`, because these files +are built to run directly on the browser (other files such as `owl.cjs.js` are +built to be bundled by other tools). Now, the project should be ready. Loading the `index.html` file into a browser should show an empty page, with the title `Owl Todo App`, and it should log a