mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-29 10:40:04 +00:00
Lots of stuff
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class @BattleCollection extends Backbone.Collection
|
||||
model: Battle
|
||||
|
||||
isPlaying: ->
|
||||
@find((battle) -> battle.isPlaying())?
|
||||
|
||||
playingBattles: ->
|
||||
@filter((battle) -> battle.isPlaying())
|
||||
Reference in New Issue
Block a user