Permalink
Browse files

Removed log references in source. Updated demos.

Signed-off-by: Lanny McNie <lanny@gskinner.com>
  • Loading branch information...
1 parent fd0845d commit 9ec84a68dafbecc9da4456058f38c2fb44c882e8 @lannymcnie lannymcnie committed Apr 16, 2012
View
@@ -108,10 +108,7 @@
}
function updateLoading() {
- var states = "/-\|";
- var index = states.indexOf(messageField.text.charAt(8));
- var newIndex = (index == -1 || index == states.length-1) ? 0 : index+1;
- messageField.text = "Loading " + (preload.progress*100|0) + "% " + states.charAt(newIndex);
+ messageField.text = "Loading " + (preload.progress*100|0) + "%"
stage.update();
}
@@ -79,7 +79,6 @@
$("#playBtn").click(function(event){
if (instance.playState == SoundJS.PLAY_FINISHED) {
instance.play();
- console.log("PAUSED?",instance.paused)
$("#playBtn").removeClass("playBtn").addClass("pauseBtn");
trackTime();
return;
View
@@ -161,7 +161,7 @@
function handleFileLoad(event) {
var list = $("#library").get(0);
var item = event.result;
- list.options.add(new Option((event.id || event.src) + " ("+(event.data||0)+")", event.id));
+ list.options.add(new Option((event.id || event.src) + " ("+(event.data||1)+")", event.id));
}
function handleProgress(event) {}
@@ -408,16 +408,11 @@ <h1><span class="text-product">Sound<strong>JS</strong></span> Test Suite</h1>
<td><div class="offsetSlider" id="offset" data-units="second"></div></td>
<td><label for="offset" id="offsetValue">0 seconds</label></td>
</tr>
- <tr>
+ <tr rowCount="2">
<td><label for="masterVolume" class="nodisable">Master Volume</label></td>
<td> <div class="masterVolumeSlider" id="masterVolume"></div></td>
<td><label for="masterVolume" id="masterVolumeValue">100</label></td>
</tr>
- <tr>
- <td></label></td>
- <td></td>
- <td><br /></td>
- </tr>
</table>
<input id="stopAllSoundsBtn" name="stopAll" type="button" value="Stop All Sounds" />
</form>
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9ec84a6

Please sign in to comment.