aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-06-11 18:19:04 +0200
committerJoris2022-06-11 18:19:04 +0200
commit53bdb2249d3c5b230882efc4554adbaf5ede3004 (patch)
treed0d18d1ee724d67daf6d59fb981a6c0259f848b9
parent56de4dc516975b36d1cbe70da3964d254fa82c65 (diff)
Remove unecessary module in index.html
-rw-r--r--public/index.html20
1 files changed, 2 insertions, 18 deletions
diff --git a/public/index.html b/public/index.html
index a57c5c2..1ed4d75 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,22 +6,6 @@
<link rel="stylesheet" href="/main.css">
<link rel="icon" href="/icon.png">
-<body>
- <script>
- // https://github.com/al6x/stupid&#45;simple&#45;typescript&#45;web&#45;starter
- window.define = function(name, required, moduleFn) {
- var require = function() { throw new Error("AMD require not supported!")}
- var exports = window.define.modules[name] = {}
- var resolved = [require, exports]
- for (var i = 2; i < required.length; i++) {
- var m = window.define.modules[required[i]]
- if (!m) throw new Error("AMD module `" + required[i] + "` not found!")
- resolved.push(m)
- }
- moduleFn.apply(null, resolved)
- }
- window.define.modules = {}
- </script>
+<body></body>
- <script src="main.js"></script>
-</body>
+<script src="main.js"></script>