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

5 lines
121 B
CoffeeScript
Raw Normal View History

2016-02-01 22:19:30 +00:00
PokeBattle.primus.on 'data', (args...) ->
try
console.log(args...) if window.localStorage.debug == 'true'
catch