mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-20 20:42:44 -05:00
12 lines
359 B
CoffeeScript
12 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'
|