mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Disable Clojure and IO
This commit is contained in:
parent
b2cfaf3b13
commit
9bf118962f
1 changed files with 9 additions and 0 deletions
|
@ -362,6 +362,15 @@ module.exports = class PlayLevelView extends RootView
|
|||
|
||||
onLevelStarted: ->
|
||||
return unless @surface?
|
||||
|
||||
#TODO: Remove this at some point
|
||||
if @session.get('codeLanguage') in ['clojure', 'io']
|
||||
problem =
|
||||
aetherProblem:
|
||||
message: "Sorry, support for #{@session.get('codeLanguage')} has been removed."
|
||||
|
||||
Backbone.Mediator.publish 'tome:show-problem-alert', problem: problem
|
||||
|
||||
@loadingView.showReady()
|
||||
@trackLevelLoadEnd()
|
||||
if window.currentModal and not window.currentModal.destroyed and window.currentModal.constructor isnt VictoryModal
|
||||
|
|
Loading…
Add table
Reference in a new issue