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.
27 lines
666 B
27 lines
666 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.AngularPage =
|
|
app.views.EmberPage =
|
|
app.views.GoPage =
|
|
app.views.MeteorPage =
|
|
app.views.MomentPage =
|
|
app.views.NodePage =
|
|
app.views.PerlPage =
|
|
app.views.PhaserPage =
|
|
app.views.PostgresPage =
|
|
app.views.RamdaPage =
|
|
app.views.ReactPage =
|
|
app.views.RethinkdbPage =
|
|
app.views.SphinxSimplePage =
|
|
app.views.TensorflowPage =
|
|
app.views.TypescriptPage =
|
|
app.views.UnderscorePage =
|
|
app.views.WebpackPage =
|
|
app.views.SimplePage
|