From aee8630955fc7ba03f16a21ffd1d7895b9688a68 Mon Sep 17 00:00:00 2001 From: CST1229 <68464103+CST1229@users.noreply.github.com> Date: Sun, 28 Jul 2024 19:27:57 +0200 Subject: [PATCH] cst1229/zip: expose extension object (#1631) --- extensions/CST1229/zip.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/CST1229/zip.js b/extensions/CST1229/zip.js index 87efc5de90..a8b88b37e3 100644 --- a/extensions/CST1229/zip.js +++ b/extensions/CST1229/zip.js @@ -21,6 +21,10 @@ this.zipPaths = Object.create(null); this.zip = null; + // for developers who want to integrate their extensions with this one + // @ts-ignore + Scratch.vm.runtime.ext_cst1229zip = this; + this.zipError = false; Scratch.vm.runtime.on("RUNTIME_DISPOSED", () => {