mirror of
https://github.com/kristoferssolo/kristofersxyz.git
synced 2025-10-21 18:30:34 +00:00
Changed to arrow function
This commit is contained in:
parent
e2bbdd7bc3
commit
398f99ba4c
@ -1,6 +1,6 @@
|
||||
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
||||
|
||||
async function typewriter() {
|
||||
window.addEventListener("load", async () => {
|
||||
const TEXT_DISPLAY = document.getElementById("rotating-text")
|
||||
const PHRASES = ["Software Developer", "Jedi", "Student"]
|
||||
let current_phrase = []
|
||||
@ -34,5 +34,4 @@ async function typewriter() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
window.addEventListener("load", typewriter)
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user