using TypeScript

This commit is contained in:
2021-05-25 19:33:39 +02:00
parent 968ede6f58
commit 0d7cd28ca9
8 changed files with 230 additions and 79 deletions

11
src/main.ts Normal file
View File

@ -0,0 +1,11 @@
"use strict";
import * as Locutus from "./locutus";
window.addEventListener("DOMContentLoaded", () => {
// Remove <noscript> tags
for (const noscript of document.getElementsByTagName("noscript")) {
noscript.remove();
}
new Locutus.App();
});