mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Added experimental Io language from Aether.
This commit is contained in:
parent
ed36dba3f5
commit
ec0027043b
3 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,7 @@ UserSchema = c.object {},
|
|||
colorConfig: c.object {additionalProperties: c.colorConfig()}
|
||||
|
||||
aceConfig: c.object {},
|
||||
language: {type: 'string', 'default': 'javascript', 'enum': ['javascript', 'coffeescript', 'clojure', 'lua', 'python']}
|
||||
language: {type: 'string', 'default': 'javascript', 'enum': ['javascript', 'coffeescript', 'clojure', 'lua', 'python', 'io']}
|
||||
keyBindings: {type: 'string', 'default': 'default', 'enum': ['default', 'vim', 'emacs']}
|
||||
invisibles: {type: 'boolean', 'default': false}
|
||||
indentGuides: {type: 'boolean', 'default': false}
|
||||
|
|
|
@ -35,6 +35,7 @@ module.exports = class EditorConfigModal extends View
|
|||
{id: 'python', name: 'Python (Experimental)'}
|
||||
{id: 'clojure', name: 'Clojure (Experimental)'}
|
||||
{id: 'lua', name: 'Lua (Experimental)'}
|
||||
{id: 'io', name: 'Io (Experimental)'}
|
||||
]
|
||||
c.sessionLanguage = @session.get('codeLanguage') ? @aceConfig.language
|
||||
c.language = @aceConfig.language
|
||||
|
|
|
@ -21,6 +21,7 @@ module.exports = class SpellView extends View
|
|||
'clojure': 'ace/mode/clojure'
|
||||
'lua': 'ace/mode/lua'
|
||||
'python': 'ace/mode/python'
|
||||
'io': 'ace/mode/text'
|
||||
|
||||
keyBindings:
|
||||
'default': null
|
||||
|
|
Loading…
Reference in a new issue