(options, level, sessions, tournamentId)
| 69 | // 'auth:logged-in-with-gplus': 'onConnectedWithGPlus' |
| 70 | |
| 71 | constructor (options, level, sessions, tournamentId) { |
| 72 | super(...arguments) |
| 73 | this.onFacebookFriendsLoaded = this.onFacebookFriendsLoaded.bind(this) |
| 74 | this.onFacebookFriendSessionsLoaded = this.onFacebookFriendSessionsLoaded.bind(this) |
| 75 | this.gplusFriendsLoaded = this.gplusFriendsLoaded.bind(this) |
| 76 | this.onGPlusFriendSessionsLoaded = this.onGPlusFriendSessionsLoaded.bind(this) |
| 77 | |
| 78 | this.level = level |
| 79 | this.sessions = sessions |
| 80 | this.tournamentId = tournamentId |
| 81 | this.teams = teamDataFromLevel(this.level) |
| 82 | this.leaderboards = [] |
| 83 | this.refreshLadder() |
| 84 | |
| 85 | this.capitalize = _.string.capitalize |
| 86 | this.selectedTeam = 'humans' |
| 87 | } |
| 88 | |
| 89 | // Trying not loading the FP/G+ stuff for now to see if anyone complains they were using it so we can have just two columns. |
| 90 | // @socialNetworkRes = @supermodel.addSomethingResource('social_network_apis', 0) |
nothing calls this directly
no test coverage detected