mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
11 lines
374 B
CoffeeScript
11 lines
374 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 ReloadLevelModal extends ModalView
|
|
id: '#reload-code-modal'
|
|
template: template
|
|
|
|
events:
|
|
'click #restart-level-confirm-button': -> Backbone.Mediator.publish 'restart-level'
|