projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
support sub dirs
[mdref/mdref]
/
index.js
diff --git
a/index.js
b/index.js
index a6c39342de32691896e6890b274c8735219e57b9..5f384ca09d2d24129d0dab53bbd93eeb76cbf57e 100644
(file)
--- a/
index.js
+++ b/
index.js
@@
-83,11
+83,11
@@
function type(s, nn) {
t = s.substring(i+2);
if (!is_constant(t) && !is_variable(t)) {
// methods
t = s.substring(i+2);
if (!is_constant(t) && !is_variable(t)) {
// methods
- return "<a href=\"
/
" + s.replace(/::|\\/g, "/") + "\">";
+ return "<a href=\"" + s.replace(/::|\\/g, "/") + "\">";
}
}
if (-1 !== (j = s.indexOf("\\")) && s.substr(j+1,1) !== "n") {
}
}
if (-1 !== (j = s.indexOf("\\")) && s.substr(j+1,1) !== "n") {
- return "<a href=\"
/
" + s.replace(/\\/g, "/").replace(/::|$/, "#") + "\">";
+ return "<a href=\"" + s.replace(/\\/g, "/").replace(/::|$/, "#") + "\">";
}
switch (s.toLowerCase()) {
}
switch (s.toLowerCase()) {