codecombat/app/views/play/level/modal/reload_modal.coffee
2014-01-03 10:32:13 -08:00

11 lines
359 B
CoffeeScript

View = 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 View
id: '#reload-code-modal'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'restart-level'