Files
0ad/source
phosit c6d42ebbd5 Support JavaScript modules
- With modules JavaScript code can be split up into multiple files. We
	already implemented such a mechanism (`Engine.LoadLibrary`) in
	multiple parts of the engine. The advantage of using modules is
	that it's standart (JS-devs are familiar with it) and it doesn't
	has to be implemented multiple times.
	Note that `Engine.LoadLibrary` loads all files in a directory
	while the new `import` only loads one file.

- With modules seemingly global variables are local to that
	script/module. We already implemented such a mechanism
	(`ScriptInterface::LoadScript`).
2025-06-06 17:36:35 +02:00
..
2025-04-11 06:24:32 +02:00
2025-05-26 13:12:47 -05:00
2025-06-01 20:51:39 +02:00
2024-11-25 20:01:00 +01:00
2025-06-03 13:52:26 +02:00
2025-05-16 14:57:59 -05:00
2025-06-04 21:12:25 +02:00
2025-04-25 19:15:57 +02:00