Skip to content
Permalink
Browse files

README

  • Loading branch information...
shanebdavis committed Aug 15, 2019
1 parent e0d8e63 commit acd0c6284de1832204ea3f4d6a0777db4413e889
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
@@ -64,23 +64,23 @@ class PlayerList extends FluxComponent {
render() {
let
currentPlayers = this.currentPlayers.sort( (a, b) => b.score - a.score ),
into = [],
children = [],
{length} = currentPlayers;
for (let i = 0; i < length; i++) {
let player = currentPlayers[i];
into.push(PlayerLine(player, { key: player.name }));
children.push(PlayerLine(player, { key: player.name }));
}
return into;
return Element({childrenLayout: "column"}, children);
}
}
PlayerList.subscriptions("players.currentPlayers");
module.exports = PlayerList;
```
> 122 tokens in JavaScript
> 130 tokens in JavaScript
Related: [ArtSuite](https://github.com/imikimi/art-suite)

0 comments on commit acd0c62

Please sign in to comment.
You can’t perform that action at this time.