You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,3 +279,33 @@ console.log("${message}");
279
279
return"view";
280
280
}
281
281
```
282
+
### Javascript multi modules resource
283
+
To avoid the multiplicity of javascript files, it is possible to group several scripts in the same file.
284
+
285
+
Each script (qualified as a module) must be identified in the javascript file by a comment on a single line bearing its name, and a comment marking the end (also mentioning the name of the script).
286
+
287
+
#### resource/static/js/multi.js
288
+
Each script can possibly be isolated, which is without consequences.
0 commit comments