Change trigger to emit
This commit is contained in:
parent
8ebcc96c77
commit
d395506b08
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ PIXI.EventTarget = function () {
|
|||
|
||||
};
|
||||
|
||||
this.dispatchEvent = this.trigger = function ( event ) {
|
||||
this.dispatchEvent = this.emit = function ( event ) {
|
||||
|
||||
for ( var listener in listeners[ event.type ] ) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue