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.
devdocs/assets/javascripts/views/pages/simple.coffee

36 lines
883 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.CakephpPage =
app.views.EmberPage =
app.views.ExpressPage =
app.views.GoPage =
app.views.LaravelPage =
app.views.MarionettePage =
app.views.MeteorPage =
app.views.ModernizrPage =
app.views.MomentPage =
app.views.MongoosePage =
app.views.NodePage =
app.views.PerlPage =
app.views.PhaserPage =
app.views.PostgresPage =
app.views.RamdaPage =
app.views.ReactPage =
app.views.RethinkdbPage =
app.views.SinonPage =
app.views.SocketioPage =
app.views.SphinxSimplePage =
app.views.TensorflowPage =
app.views.TypescriptPage =
app.views.UnderscorePage =
app.views.VuePage =
app.views.WebpackPage =
app.views.SimplePage