codecombat/app/views/play/level/modal/infinite_loop_modal.coffee

11 lines
421 B
CoffeeScript
Raw Normal View History

2014-01-03 13:32:13 -05:00
View = require 'views/kinds/ModalView'
template = require 'templates/play/level/modal/infinite_loop'
module.exports = class InfiniteLoopModal extends View
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 'restart-level'