codecombat/app/views/play/level/modal/reload_modal.coffee

12 lines
369 B
CoffeeScript
Raw Normal View History

2014-07-17 20:22:26 -04:00
ModalView = require 'views/kinds/ModalView'
2014-01-03 13:32:13 -05:00
template = require 'templates/play/level/modal/reload'
# let's implement this once we have the docs database schema set up
2014-07-17 20:22:26 -04:00
module.exports = class ReloadModal extends ModalView
2014-01-03 13:32:13 -05:00
id: '#reload-code-modal'
template: template
events:
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'restart-level'