mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 03:47:09 -05:00
19 lines
434 B
CoffeeScript
19 lines
434 B
CoffeeScript
|
ModalView = require 'views/core/ModalView'
|
||
|
template = require 'templates/play/level/modal/picoctf-victory-modal'
|
||
|
|
||
|
module.exports = class PicoCTFVictoryModal extends ModalView
|
||
|
id: 'picoctf-victory-modal'
|
||
|
template: template
|
||
|
closesOnClickOutside: false
|
||
|
|
||
|
initialize: (options) ->
|
||
|
@session = options.session
|
||
|
@level = options.level
|
||
|
|
||
|
# TODO: submit to picoCTF server
|
||
|
|
||
|
@playSound 'victory'
|
||
|
|
||
|
onLoaded: ->
|
||
|
super()
|