Permalink
Browse files

Releasing bugfix.

  • Loading branch information...
1 parent 1212e9b commit 6940f77bf62ecec1b57cb7757e82b57fa047e339 @joakimk committed May 12, 2012
Showing with 5 additions and 4 deletions.
  1. +1 −1 Rakefile
  2. +4 −3 lib/macruby-docs.stable.js
View
@@ -10,7 +10,7 @@ task :spec do
end
end
-task :release_stable do
+task :release => :release_edge do
cmd = "cp lib/macruby-docs.js lib/macruby-docs.stable.js"
puts "Running: #{cmd}"
system(cmd)
@@ -60,7 +60,7 @@ DocRenderer = (function() {
length = parameters.length;
i = 0;
str = "<div><span>" + this.className + (this.separator()) + (this.declaration.methodName()) + "</span>";
- str += "<span style='color: #fff'><table style='color: #000; margin-left: 20px'>";
+ str += "<table style='margin-left: 20px'>";
str += ((function() {
var _i, _len, _results;
_results = [];
@@ -69,8 +69,9 @@ DocRenderer = (function() {
_results.push("<tr><td>" + param[0] + (this.addComma((i += 1), length)) + "</td><td style='color: gray; padding-left: 10px;'># (" + param[1] + ")</td></tr>");
}
return _results;
- }).call(this)).join();
- str += "</table></span><div style='margin-top: 10px; color: gray;'>Return type: (" + (this.declaration.returnType()) + ")</div> </div>";
+ }).call(this)).join("\n");
+ str += "</table><div style='margin-top: 10px; color: gray;'>Return type: (" + (this.declaration.returnType()) + ")</div> </div>";
+ console.log(str);
return str;
} catch (err) {
return 'Could not parse or render, check issues at <a href="https://github.com/joakimk/macruby-docs-js/issues">https://github.com/joakimk/macruby-docs-js/issues</a>.';

0 comments on commit 6940f77

Please sign in to comment.