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 {
|
||||
@extend %simple;
|
||||
|
||||
.functionIcon, .parameters { @extend %code; }
|
||||
.jsdoc-inheritance { color: $textColorLight; }
|
||||
}
|
||||
|
Loading…
Reference in new issue