Skip to content

Commit

Permalink
Send Event function
Browse files Browse the repository at this point in the history
  • Loading branch information
uurcank committed Mar 16, 2020
1 parent a1969f4 commit a2a70b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/aframe-inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -18420,8 +18420,8 @@ Inspector.prototype = {
}
},

sendevt: function sendevt() {
this.close();
sendevt: function sendevt(evt, attr) {
Events.emit(evt, attr);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/aframe-inspector.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ Inspector.prototype = {
this.open();
}
},
sendevt: function() {
this.close();


sendevt: function(evt, attr) {
Events.emit(evt, attr);
},

/**
Expand Down

0 comments on commit a2a70b8

Please sign in to comment.