Loading lib/jsduck/long_params.rb +2 −1 Original line number Diff line number Diff line Loading @@ -17,9 +17,10 @@ module JsDuck def render_single(param) doc = @formatter.format(param[:doc]) type = @formatter.replace(param[:type]) return [ "<li>", "<code>#{param[:name]}</code> : #{param[:type]}", "<code>#{param[:name]}</code> : #{type}", "<div class='sub-desc'>#{doc}</div>", "</li>", ].join("") Loading lib/jsduck/method_table.rb +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ module JsDuck end def render_return(item) type = item[:return][:type] type = @formatter.replace(item[:return][:type]) doc = @formatter.format(item[:return][:doc]) if type == "void" && doc.length == 0 "<ul><li>void</li></ul>" Loading Loading
lib/jsduck/long_params.rb +2 −1 Original line number Diff line number Diff line Loading @@ -17,9 +17,10 @@ module JsDuck def render_single(param) doc = @formatter.format(param[:doc]) type = @formatter.replace(param[:type]) return [ "<li>", "<code>#{param[:name]}</code> : #{param[:type]}", "<code>#{param[:name]}</code> : #{type}", "<div class='sub-desc'>#{doc}</div>", "</li>", ].join("") Loading
lib/jsduck/method_table.rb +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ module JsDuck end def render_return(item) type = item[:return][:type] type = @formatter.replace(item[:return][:type]) doc = @formatter.format(item[:return][:doc]) if type == "void" && doc.length == 0 "<ul><li>void</li></ul>" Loading