mirror of
https://github.com/fergalmoran/dss.git
synced 2026-03-25 23:16:35 +00:00
Altered soundmanager settings and re-added console.log override
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
console.log "Sound manager ready!"
|
||||
|
||||
debugFlash: com.podnoms.smDebugMode
|
||||
debugMode: com.podnoms.smDebugMode
|
||||
useHTML5Audio: true
|
||||
preferFlash: false
|
||||
|
||||
defaultOptions:
|
||||
|
||||
@@ -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) ->
|
||||
Reference in New Issue
Block a user