mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
commit
a1aa71084d
2 changed files with 3 additions and 3 deletions
app
|
@ -26,8 +26,8 @@ block content
|
|||
li(id="#{component.get('name')}#{doc.name}")
|
||||
| #{doc.name}
|
||||
ul.specialList
|
||||
if doc.description[language.substring(1,language.length-1)]
|
||||
li!=marked(doc.description[language.substring(1,language.length-1)])
|
||||
if doc.description[language]
|
||||
li!=marked(doc.description[language])
|
||||
else
|
||||
li!=marked(doc.description)
|
||||
|
||||
|
|
|
@ -34,5 +34,5 @@ module.exports = class UnnamedView extends RootView
|
|||
if (me.get('aceConfig')?.language?) is false
|
||||
c.language = 'javascript'
|
||||
else
|
||||
c.language = JSON.stringify(me.get('aceConfig').language)
|
||||
c.language = me.get('aceConfig').language
|
||||
c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue