diff --git a/tutos/dev/manual/how-to-add-a-javascript-script.wiki b/tutos/dev/manual/how-to-add-a-javascript-script.wiki index 5a0440c7..18592dd7 100644 --- a/tutos/dev/manual/how-to-add-a-javascript-script.wiki +++ b/tutos/dev/manual/how-to-add-a-javascript-script.wiki @@ -4,7 +4,7 @@ If you have client-side programs on your website, you can use Eliom's client-ser === Include the script on the html header -Javascript scripts are included in the header using the **js_script** function (defined in <>). +Javascript scripts are included in the header using the **js_script** function (defined in <>). <> This function has 2 parameters: the file path and unit. -The file path is generated using the **make_uri** function (from <> module). This function creates the relative URL string using the static directory (which is a service) configured in the configuration file and the given list. +The file path is generated using the **make_uri** function (from <> module). This function creates the relative URL string using the static directory (which is a service) configured in the configuration file and the given list. Insert this piece of code on the list given in parameter to the **head** function.