Skip to content

Commit

Permalink
Set playable before calling loding.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jul 27, 2012
1 parent 4842447 commit 3ba1441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backbone.soundmanager2.coffee
Expand Up @@ -159,11 +159,11 @@ class Backbone.SoundManager2

@release()

@trigger "loading"

@playable = playable
@playable.retain() if @playable.retain?

@trigger "loading"

playable.getAudioURL (url) =>

@sound = soundManager.createSound
Expand Down
2 changes: 1 addition & 1 deletion backbone.soundmanager2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ba1441

Please sign in to comment.