mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
476 B
19 lines
476 B
#= require views/pages/base
|
|
|
|
class app.views.SimplePage extends app.views.BasePage
|
|
prepare: ->
|
|
for el in @findAllByTag('pre') when el.hasAttribute('data-language')
|
|
@highlightCode el, el.getAttribute('data-language')
|
|
return
|
|
|
|
app.views.EmberPage =
|
|
app.views.GoPage =
|
|
app.views.MeteorPage =
|
|
app.views.RamdaPage =
|
|
app.views.ReactPage =
|
|
app.views.RethinkdbPage =
|
|
app.views.TensorflowPage =
|
|
app.views.TypescriptPage =
|
|
app.views.UnderscorePage =
|
|
app.views.SimplePage
|