diff --git a/docs/tutorial/node/src/creating_the_tiles_from_js.md b/docs/tutorial/node/src/creating_the_tiles_from_js.md index 14e8d2e0c..e66fe6d46 100644 --- a/docs/tutorial/node/src/creating_the_tiles_from_js.md +++ b/docs/tutorial/node/src/creating_the_tiles_from_js.md @@ -8,7 +8,7 @@ We can't modify the model generated by the .slint, but we can extract the tiles in a [`slint.ArrayModel`](https://slint.dev/docs/node/classes/arraymodel.html) which implements the [`Model`](https://slint.dev/docs/node/interfaces/model.html) interface. `ArrayModel` allows us to make modifications and we can use it to replace the static generated model. -We modify the main function like so: +We modify `main.js` like so: ```js {{#include main_tiles_from_js.js:main}}