lanye74.github.io/root/main.js
2020-10-14 16:30:56 -04:00

23 lines
No EOL
612 B
JavaScript

/*
const skipper = Array.from(document.getElementsByTagName("skipper"))[0];
const projects = Array.from(document.getElementsByTagName("tile"));
const animated = Array.from(document.querySelectorAll("[ani]"));
let timeSetter = null;
let timeKeeper = 0;
projects.forEach(tile => {
tile.addEventListener("click", e => {
if(tile.id === "shady") {window.location.pathname = "/projects/shady/"}
if(tile.id === "platformer") {window.location.pathname = "/projects/platformer/"}
});
});
skipper.addEventListener("click", () => {
});
document.body.onload = () => {
document.body.classList.add("loaded");
}
*/