MCPcopy Create free account
hub / github.com/codecombat/codecombat / onClickPlayButton

Method onClickPlayButton

app/views/ladder/LadderView.js:374–376  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

372 }
373
374 onClickPlayButton (e) {
375 return this.showPlayModal($(e.target).closest('.play-button').data('team'))
376 }
377
378 onClickPublishButton (e) {
379 if (!this.tournamentId || (this.tournamentState !== 'waiting') || (me.get('_id') !== (this.league != null ? this.league.get('ownerID') : undefined))) { return }

Callers

nothing calls this directly

Calls 2

showPlayModalMethod · 0.95
dataMethod · 0.80

Tested by

no test coverage detected