codecombat/app/views/play/level/modal/reload_modal.coffee
2014-07-17 17:22:26 -07:00

11 lines
369 B
CoffeeScript

ModalView = require 'views/kinds/ModalView'
template = require 'templates/play/level/modal/reload'
# let's implement this once we have the docs database schema set up
module.exports = class ReloadModal extends ModalView
id: '#reload-code-modal'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'restart-level'