This commit is contained in:
Dominic Szablewski
2021-09-13 09:34:08 +02:00
commit a844ba46f8
95 changed files with 11727 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Holy hell, wtf, bbq! If we don't wrap the whole game in a global function,
// installed on the window scope, everything will be garbage collected in chrome
// in the roadrolled version, even though the requestAnimationFrame should hold
// on to the closure.
// I assumme it's a weird interaction between eval() (used by roadroller) and
// async functions. In any case, it seems to be a bug in v8.
gs = () => {