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

3 lines
101 B
CoffeeScript

PokeBattle.primus.on 'battleList', (battles) ->
PokeBattle.battleList.refreshListComplete(battles)