This commit is contained in:
Henry Jameson 2025-01-20 13:43:15 +02:00
commit 5509cb31a8
9 changed files with 11 additions and 12 deletions

View file

@ -1,4 +1,3 @@
const DIRECTION_LEFT = [-1, 0]
const DIRECTION_RIGHT = [1, 0]
const DIRECTION_UP = [0, -1]

View file

@ -1,4 +1,3 @@
// promiseInterval - replacement for setInterval for promises, starts counting
// the interval only after a promise is done instead of immediately.
// - promiseCall is a function that returns a promise, it's called the first

View file

@ -1,4 +1,3 @@
export const windowWidth = () =>
window.innerWidth ||
document.documentElement.clientWidth ||