Skip to content

Commit 8f692b8

Browse files
Renamed loop event to looped for emitting event when sound has looped
1 parent 1fe58bc commit 8f692b8

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
@@ -207,7 +207,7 @@ var HTML5AudioSound = new Class({
207207
}
208208
if (currentTime < this.previousTime) {
209209
// TODO rename to looped and add loop for changing loop value
210-
this.emit('loop', this);
210+
this.emit('looped', this);
211211
}
212212
}
213213
else if (currentTime >= endTime) {

0 commit comments

Comments
 (0)