mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 11:27:14 -05:00
10 lines
322 B
CoffeeScript
10 lines
322 B
CoffeeScript
|
ModalView = require 'views/kinds/ModalView'
|
||
|
template = require 'templates/play/level/modal/reload-level-modal'
|
||
|
|
||
|
module.exports = class ReloadLevelModal extends ModalView
|
||
|
id: '#reload-level-modal'
|
||
|
template: template
|
||
|
|
||
|
events:
|
||
|
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'level:restart', {}
|