summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala')
-rwxr-xr-xsrc/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala b/src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala
index 124b6852ba..7bdd5b22ea 100755
--- a/src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/page/ReferenceIndex.scala
@@ -22,23 +22,12 @@ class ReferenceIndex(letter: Char, indexModel: model.IndexModelFactory#IndexMode
def headers =
<xml:group>
<link href={ relativeLinkTo(List("ref-index.css", "lib")) } media="screen" type="text/css" rel="stylesheet"/>
- <script type="text/javascript" src={ relativeLinkTo{List("jquery.js", "lib")} }></script>
+ <script type="text/javascript" src={ relativeLinkTo{List("jquery.js", "lib")} }></script>
</xml:group>
val groupedMembers = indexModel(letter)
- def indexLinks =
- <div class="letters">
- { for(l <- indexModel.keySet.toList.sortBy( _.toString )) yield { // TODO there should be a better way to do that
- val ch = if(l=='#') "%23" else l // url encoding if needed
- ( if(letter != l)
- <span><a href={"index-"+ch+".html"}>{l.toUpper}</a></span>
- else
- xml.Text(l.toUpper.toString) ) ++ xml.Text(" | ")
- } }
- </div>
def body =
<body>
- { indexLinks }
{ for(groups <- groupedMembers) yield {
<div class="entry">
<div class="name">{ groups._1 }</div>