|
|
@@ -5,5 +5,5 @@ class app.views.ReactPage extends app.views.BasePage
|
|
|
for el in @findAllByTag 'pre'
|
|
|
switch el.getAttribute('data-lang')
|
|
|
when 'html' then @highlightCode el, 'markup'
|
|
|
- when 'javascript' then @highlightCode el, 'javascript'
|
|
|
+ when 'javascript', 'js' then @highlightCode el, 'javascript'
|
|
|
return
|