Simplified some new TypeScript demo code.

pull/65/head
Project Nayuki 5 years ago
parent cf612ec2dc
commit 146105007c

@ -27,8 +27,8 @@
namespace app {
function initialize(): void {
(document.getElementById("loading") as HTMLElement).style.display = "none";
(document.getElementById("loaded") as HTMLElement).style.removeProperty("display");
getElem("loading").style.display = "none";
getElem("loaded").style.removeProperty("display");
let elems = document.querySelectorAll("input[type=number], textarea");
for (let el of elems) {
if (el.id.indexOf("version-") != 0)

Loading…
Cancel
Save