BattleSim/client/app/js/concerns/logging.coffee

5 lines
121 B
CoffeeScript

PokeBattle.primus.on 'data', (args...) ->
try
console.log(args...) if window.localStorage.debug == 'true'
catch