Skip to content

Commit

Permalink
cst1229/zip: expose extension object (#1631)
Browse files Browse the repository at this point in the history
  • Loading branch information
CST1229 authored Jul 28, 2024
1 parent 8dffc0d commit aee8630
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/CST1229/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit aee8630

Please sign in to comment.