mirror of https://github.com/freeCodeCamp/devdocs
parent
80cc88cef0
commit
85fffdc242
@ -1,9 +0,0 @@
|
||||
#= require views/pages/base
|
||||
|
||||
class app.views.GithubPage extends app.views.BasePage
|
||||
LANGUAGE_RGX = /highlight-source-(\w+)/
|
||||
|
||||
prepare: ->
|
||||
for el in @findAll('pre.highlight')
|
||||
@highlightCode(el, el.className.match(LANGUAGE_RGX)[1])
|
||||
return
|
Loading…
Reference in new issue