added grow, weaken, and time compression

This commit is contained in:
Olivier Gagnon
2021-10-04 19:58:34 -04:00
parent 33ea31be87
commit c47a5bc8cc
22 changed files with 254 additions and 71 deletions
+1 -2
View File
@@ -7,7 +7,6 @@
import { calculateRamUsage } from "./RamCalculations";
import { ScriptUrl } from "./ScriptUrl";
import { setTimeoutRef } from "../utils/SetTimeoutRef";
import { Generic_fromJSON, Generic_toJSON, Reviver } from "../utils/JSONReviver";
import { roundToTwo } from "../utils/helpers/roundToTwo";
@@ -70,7 +69,7 @@ export class Script {
a.download = filename;
document.body.appendChild(a);
a.click();
setTimeoutRef(function () {
setTimeout(function () {
document.body.removeChild(a);
window.URL.revokeObjectURL(url);
}, 0);