Skip to content

Commit ac04061

Browse files
Using EventEmitter emit method to dispatch resume event
1 parent be03100 commit ac04061

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var HTML5AudioSound = new Class({
8484
if (!this.pickAndPlayAudioTag()) {
8585
return false;
8686
}
87-
this.events.dispatch(new SoundEvent(this, 'SOUND_RESUME'));
87+
this.emit('resume', this);
8888
return true;
8989
},
9090
stop: function () {

0 commit comments

Comments
 (0)