()
| 49 | module.exports = (MainLadderView = (function () { |
| 50 | MainLadderView = class MainLadderView extends RootView { |
| 51 | static initClass () { |
| 52 | this.prototype.id = 'main-ladder-view' |
| 53 | this.prototype.template = template |
| 54 | |
| 55 | this.prototype.events = { |
| 56 | 'click .create-button': 'createTournament', |
| 57 | 'click .edit-button': 'editTournament', |
| 58 | 'click .input-submit': 'submitEditing', |
| 59 | 'click .input-cancel': 'cancelEditing' |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | constructor (options, pageType, objectId) { |
| 64 | super(options) |