mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-20 12:32:28 -05:00
8e8a3103d5
This removes getRenderData from: CareersView, SaveCampaignModal, InfiniteLoopModal, SpellListEntryThangsView, SaveLoadView, PlaySettingsModal and JobProfileCodeModal.
11 lines
551 B
CoffeeScript
11 lines
551 B
CoffeeScript
ModalView = require 'views/core/ModalView'
|
|
template = require 'templates/play/level/modal/infinite_loop'
|
|
|
|
module.exports = class InfiniteLoopModal extends ModalView
|
|
id: '#infinite-loop-modal'
|
|
template: template
|
|
|
|
events:
|
|
'click #restart-level-infinite-loop-retry-button': -> Backbone.Mediator.publish 'tome:cast-spell', {}
|
|
'click #restart-level-infinite-loop-confirm-button': -> Backbone.Mediator.publish 'level:restart', {}
|
|
'click #restart-level-infinite-loop-comment-button': -> Backbone.Mediator.publish 'tome:comment-my-code', {}
|