Skip to content

Commit

Permalink
Releasing bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimk committed May 12, 2012
1 parent 1212e9b commit 6940f77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions lib/macruby-docs.stable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand All @@ -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>.';
Expand Down

0 comments on commit 6940f77

Please sign in to comment.