Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 278 Bytes
import &ArtSuite
class PlayerList extends FluxComponent
@subscriptions :players.currentPlayers
render: ->
Element
childrenLayout: :column
array player from-array @currentPlayers.sort (a, b) -> b.score - a.score
&PlayerLine player, key: player.name
You can’t perform that action at this time.