Altered soundmanager settings and re-added console.log override

This commit is contained in:
Fergal Moran
2014-06-01 00:21:51 +01:00
parent 9e8aac8f11
commit bcc8f22083
3 changed files with 8 additions and 4 deletions

View File

@@ -28,6 +28,12 @@
)
true
App.addInitializer ->
unless com.podnoms.settings.isDebug
console.log("Looking under the hood? Check us out on github https://github.com/fergalmoran/dss");
console = {}
console.log = (message) ->
App.addInitializer ->
@listenTo @vent, "app:login", ->
console.log "App(vent): app:login"

View File

@@ -18,6 +18,8 @@
console.log "Sound manager ready!"
debugFlash: com.podnoms.smDebugMode
debugMode: com.podnoms.smDebugMode
useHTML5Audio: true
preferFlash: false
defaultOptions:

View File

@@ -204,8 +204,4 @@ $.ajaxSetup
window.location.replace "/"
return
unless com.podnoms.settings.isDebug
#console.log("Looking under the hood? Check us out on github https://github.com/fergalmoran/dss");
console = {}
console.log = (message) ->