manalang-bdoc 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/lib/bdoc.rb +1 -1
- data/templates/index.html +5 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/bdoc.rb
CHANGED
data/templates/index.html
CHANGED
@@ -26,7 +26,11 @@
|
|
26
26
|
if(n.version==selectedVer) {
|
27
27
|
selected = ' selected';
|
28
28
|
}
|
29
|
-
|
29
|
+
if(n.rdoc_index == null) {
|
30
|
+
return "";
|
31
|
+
} else {
|
32
|
+
return ("<a href='" + n.rdoc_index + "' class='version"+ selected +"'>" + n.version + "</a>");
|
33
|
+
}
|
30
34
|
});
|
31
35
|
$('#current').html($(this).clone()).append(" <span class='quiet'>" + versions.join(" ") + "</span>");
|
32
36
|
$('#current a.gemname').attr('href',$(this).attr('rel')).click(function(){window.open(this.href);return false;});
|