mirror of https://github.com/freeCodeCamp/devdocs
parent
150a4b6ab1
commit
384ee20b28
@ -1,14 +0,0 @@
|
|||||||
#= require views/pages/base
|
|
||||||
|
|
||||||
class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage
|
|
||||||
prepare: ->
|
|
||||||
for el in @findAllByTag('pre')
|
|
||||||
language = if el.textContent.match(/^\s*</)
|
|
||||||
'markup'
|
|
||||||
else
|
|
||||||
'javascript'
|
|
||||||
@highlightCode el, language
|
|
||||||
return
|
|
||||||
|
|
||||||
app.views.DojoPage =
|
|
||||||
app.views.JavascriptWithMarkupCheckPage
|
|
@ -1,6 +1,5 @@
|
|||||||
._dojo {
|
._dojo {
|
||||||
@extend %simple;
|
@extend %simple;
|
||||||
|
|
||||||
.functionIcon, .parameters { @extend %code; }
|
|
||||||
.jsdoc-inheritance { color: $textColorLight; }
|
.jsdoc-inheritance { color: $textColorLight; }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue