mirror of https://github.com/freeCodeCamp/devdocs
parent
2ed9d2f865
commit
05d4b76390
@ -1,11 +0,0 @@
|
||||
#= require views/pages/base
|
||||
|
||||
class app.views.EmberPage extends app.views.BasePage
|
||||
prepare: ->
|
||||
for el in @findAllByTag 'pre'
|
||||
language = if el.classList.contains 'javascript'
|
||||
'javascript'
|
||||
else if el.classList.contains 'html'
|
||||
'markup'
|
||||
@highlightCode el, language if language
|
||||
return
|
Loading…
Reference in new issue