From 819fb9ca5082175f4afc595766e75dd2f045395b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 13 Nov 2024 20:25:55 +0200 Subject: Style update, refactoring with generator usage, bugfixes --- src/js/ui/mainLayout.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/js/ui/mainLayout.js (limited to 'src/js/ui/mainLayout.js') diff --git a/src/js/ui/mainLayout.js b/src/js/ui/mainLayout.js new file mode 100644 index 0000000..f7adeae --- /dev/null +++ b/src/js/ui/mainLayout.js @@ -0,0 +1,14 @@ +var scripts = [ + { + element:"script", + src:"./js/ui/header.js" + }, + { + element:"script", + src:"./js/ui/footer.js" + } +] +for ( var i = 0; i < scripts.length; i++ ) +{ + makeElement(scripts[i], root.body); +} -- cgit v1.2.3