|
|
@ -1,10 +1,5 @@
|
|
|
|
#= require views/pages/base
|
|
|
|
#= require views/pages/base
|
|
|
|
|
|
|
|
|
|
|
|
class app.views.JavascriptPage extends app.views.BasePage
|
|
|
|
|
|
|
|
prepare: ->
|
|
|
|
|
|
|
|
@highlightCode @findAllByTag('pre'), 'javascript'
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage
|
|
|
|
class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage
|
|
|
|
prepare: ->
|
|
|
|
prepare: ->
|
|
|
|
for el in @findAllByTag('pre')
|
|
|
|
for el in @findAllByTag('pre')
|
|
|
@ -15,9 +10,6 @@ class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage
|
|
|
|
@highlightCode el, language
|
|
|
|
@highlightCode el, language
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
app.views.GruntPage =
|
|
|
|
|
|
|
|
app.views.JavascriptPage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.views.DojoPage =
|
|
|
|
app.views.DojoPage =
|
|
|
|
app.views.RequirejsPage =
|
|
|
|
app.views.RequirejsPage =
|
|
|
|
app.views.JavascriptWithMarkupCheckPage
|
|
|
|
app.views.JavascriptWithMarkupCheckPage
|
|
|
|