summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-11-17 13:32:19 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-11-17 13:32:19 +0000
commitbc452c0ef2889e1071e1685688771900903b8527 (patch)
treeec909cc554e63ccf7080b3762546142c56b05eec /src/compiler
parent2834d1838c26913ae710d99b2f7b6127ef8643d0 (diff)
downloadscala-bc452c0ef2889e1071e1685688771900903b8527.tar.gz
scala-bc452c0ef2889e1071e1685688771900903b8527.tar.bz2
scala-bc452c0ef2889e1071e1685688771900903b8527.zip
scaladoc now correclty links to swing sources
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/doc/script.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/script.js b/src/compiler/scala/tools/nsc/doc/script.js
index 5fdd63e4f4..ad78766da0 100644
--- a/src/compiler/scala/tools/nsc/doc/script.js
+++ b/src/compiler/scala/tools/nsc/doc/script.js
@@ -45,6 +45,7 @@ var lib_src_root = scala_src_root + 'src/library/';
var comp_src_root = scala_src_root + 'src/compiler/';
var actors_src_root = scala_src_root + 'src/actors/';
var dbc_src_root = scala_src_root + 'src/dbc/';
+var swing_src_root = scala_src_root + 'src/swing/';
//var liftweb_src_root = 'http://liftweb.googlecode.com/svn/trunk/liftweb/lift/src/main/scala/';
@@ -52,6 +53,7 @@ function get_src_root(key) {
root = null;
if (key.indexOf("scala/actors/") == 0) { root = actors_src_root; }
else if (key.indexOf("scala/dbc/" ) == 0) { root = dbc_src_root; }
+ else if (key.indexOf("scala/swing/" ) == 0) { root = swing_src_root; }
else if (key.indexOf("scala/tools/" ) == 0) { root = comp_src_root; }
else if (key.indexOf("scala/" ) == 0) { root = lib_src_root; }
//else if (key.indexOf("net/liftweb/" ) == 0) { root = liftweb_src_root; }