Permalink
Browse files

No one define sh_highlightDocument

This line was added on 2621ee6 but
no one define sh_highlightDocument and syntax highlighting is done
on Scala-side.
  • Loading branch information...
kzys committed May 2, 2012
1 parent 90d2bee commit 30e25dbe8acfb23a6f8b47dd345c0b806d6133fa
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/compiler/scala/tools/nsc/doc/html/page/Template.scala
@@ -70,8 +70,7 @@ class Template(universe: doc.Universe, tpl: DocTemplateEntity) extends HtmlPage
<p id="owner">{ templatesToHtml(tpl.inTemplate.toRoot.reverse.tail, xml.Text(".")) }</p>
}
- <body class={ if (tpl.isTrait || tpl.isClass || tpl.qualifiedName == "scala.AnyRef") "type" else "value" }
- onload={ "sh_highlightDocument('../lib/', '.min.js');" }>
+ <body class={ if (tpl.isTrait || tpl.isClass || tpl.qualifiedName == "scala.AnyRef") "type" else "value" }>
<div id="definition">
{
tpl.companion match {

0 comments on commit 30e25db

Please sign in to comment.