Skip to content

Commit

Permalink
version numbers, minor tweaks, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jessevondoom committed Aug 16, 2010
1 parent 3f0783d commit 2616691
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
5 changes: 4 additions & 1 deletion LICENSE
@@ -1,4 +1,7 @@
Copyright (c) 2009, CASH Music
Flower
http://cashmusic.org/tools/

Copyright (c) 2010, CASH Music
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
8 changes: 0 additions & 8 deletions README

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
@@ -0,0 +1,3 @@
Flower
http://cashmusic.org/tools/

8 changes: 4 additions & 4 deletions uncompressed/soundplayer/flower_soundplayer.js
Expand Up @@ -498,7 +498,7 @@ var SoundPlaylist = new Class({
id: theSound.url,
url: theSound.url,
onfinish: function() {
this.SoundPlayer.fireEvent('stop');
this.SoundPlayer.fireEvent('stop',this.currentSound.sound.url);
this.playSound('next');
}.bind(this),
whileplaying: function() {
Expand Down Expand Up @@ -599,7 +599,7 @@ var SoundPlaylist = new Class({
this.makeCurrent();
if (this.currentSound.sound.paused) {
this.currentSound.sound.resume();
this.SoundPlayer.fireEvent('resume');
this.SoundPlayer.fireEvent('resume',this.currentSound.sound.url);
}
},

Expand All @@ -618,15 +618,15 @@ var SoundPlaylist = new Class({
this.makeCurrent();
if (this.currentSound.sound.playState == 1) {
this.currentSound.sound.pause();
this.SoundPlayer.fireEvent('pause');
this.SoundPlayer.fireEvent('pause',this.currentSound.sound.url);
}
},

stopCurrentSound: function() {
this.makeCurrent();
if (this.currentSound.sound.playState != 0) {
this.currentSound.sound.stop();
this.SoundPlayer.fireEvent('stop');
this.SoundPlayer.fireEvent('stop',this.currentSound.sound.url);
}
},

Expand Down

0 comments on commit 2616691

Please sign in to comment.