Browse Source

fix file path

wayou 8 years ago
parent
commit
08ebb21f60
2 changed files with 1 additions and 4 deletions
  1. 1 1
      index.html
  2. 0 3
      js/game.js

File diff suppressed because it is too large
+ 1 - 1
index.html


+ 0 - 3
js/game.js

@@ -300,15 +300,12 @@ Runner.prototype = {
       for (var sound in Runner.sounds) {
         var soundSrc =
             resourceTemplate.getElementById(Runner.sounds[sound]).src;
-            console.log(resourceTemplate.getElementById(Runner.sounds[sound]).src);
-            console.log(resourceTemplate.getElementById(Runner.sounds[sound]).id);
         soundSrc = soundSrc.substr(soundSrc.indexOf(',') + 1);
         var buffer = decodeBase64ToArrayBuffer(soundSrc);
 
         // Async, so no guarantee of order in array.
         this.audioContext.decodeAudioData(buffer, function(index, audioData) {
             this.soundFx[index] = audioData;
-            console.log(this.soundFx);
           }.bind(this, sound));
       }
     }

Some files were not shown because too many files changed in this diff