Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

turn off logger

  • Loading branch information...
commit be263ecc1198c4c783959047a881820024ce29e9 1 parent c42d8ec
andy authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 app/assets/javascripts/welcome.js.coffee
5 app/assets/javascripts/welcome.js.coffee
@@ -35,8 +35,6 @@ playlistHandler = ->
35 35 track = $("a[data-track=#{trackNumber}]").attr('data-track')
36 36 title = $("a[data-track=#{trackNumber}]").attr('data-title')
37 37 $(".mp3player").attr('src', song + browserFormat() )
38   - alert("playing format: " + browserFormat())
39   - browserFormatLogger()
40 38 $(".mp3player").attr('data-current', track)
41 39 $(".mp3player")[0].play()
42 40 turnOnSongImage(trackNumber)
@@ -72,4 +70,5 @@ playlistHandler = ->
72 70 canPlayMp3 = !!myAudio.canPlayType && "" != myAudio.canPlayType('audio/mpeg');
73 71 canPlayOgg = !!myAudio.canPlayType && "" != myAudio.canPlayType('audio/ogg; codecs="vorbis"');
74 72 alert("can play mp3? " + canPlayMp3)
75   - alert("can play ogg? " + canPlayOgg)
  73 + alert("can play ogg? " + canPlayOgg
  74 + alert("playing format: " + browserFormat())

0 comments on commit be263ec

Please sign in to comment.
Something went wrong with that request. Please try again.