#= 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.ExpressPage =
app.views.GoPage =
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
