Skip to content

Commit be03100

Browse files
Using EventEmitter emit method to dispatch pause event
1 parent d5ffad0 commit be03100

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
@@ -70,7 +70,7 @@ var HTML5AudioSound = new Class({
7070
this.currentConfig.seek = this.audio.currentTime
7171
- (this.currentMarker ? this.currentMarker.start : 0);
7272
this.stopAndReleaseAudioTag();
73-
this.events.dispatch(new SoundEvent(this, 'SOUND_PAUSE'));
73+
this.emit('pause', this);
7474
return true;
7575
},
7676
resume: function () {

0 commit comments

Comments
 (0)