1
0
mirror of https://gitlab.com/Deukhoofd/BattleSim.git synced 2025-09-02 08:57:19 +00:00
BattleSim/client/app/js/concerns/logging.coffee
2016-02-01 23:19:30 +01:00

5 lines
121 B
CoffeeScript

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