mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-25 01:41:45 +00:00
10 lines
282 B
JavaScript
10 lines
282 B
JavaScript
|
// Load files
|
||
|
|
||
|
for (file in modInfo.modFiles) {
|
||
|
let script = document.createElement("script");
|
||
|
script.setAttribute("src", "js/" + modInfo.modFiles[file]);
|
||
|
script.setAttribute("async", "false");
|
||
|
document.head.insertBefore(script, document.getElementById("temp"));
|
||
|
}
|
||
|
|