mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -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', {}
|