split javascript file into multiple

This commit is contained in:
2026-09-21 21:25:31 +02:00
parent b09f2029ed
commit cc91f7d4ff
17 changed files with 473 additions and 461 deletions
+9
View File
@@ -0,0 +1,9 @@
export async function loadContent(lang) {
const response = await fetch(`./lang/${lang}.json`);
return response.json();
}
export async function loadImageConfig() {
const response = await fetch("./config/img_config.json");
return response.json();
}