Skip to content

Commit

Permalink
Added this.emit = Events.emit to add possibility to emit custom event…
Browse files Browse the repository at this point in the history
…s from outside the Inspector class. (#719)
  • Loading branch information
gregogalante committed Jun 12, 2024
1 parent 0b8b8d5 commit 9302f2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function Inspector() {
this.isFirstOpen = true;
this.modules = {};
this.on = Events.on;
this.emit = Events.emit;
this.off = Events.off;
this.opened = false;

// Wait for stuff.
Expand Down

0 comments on commit 9302f2a

Please sign in to comment.