mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 11:27:14 -05:00
10 lines
421 B
CoffeeScript
10 lines
421 B
CoffeeScript
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'
|