Commit 2693008d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove param types from method signatures.

Gives much cleaner look to our methods list.  This is also the way how
other JavaScript documentation tools display the method signature.
parent 57ea41e6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -71,8 +71,7 @@ module JsDuck
    end

    def render_single_param(param)
      p = param[:html_type] + " " + param[:name]
      param[:optional] ? "["+p+"]" : p
      param[:optional] ? "["+param[:name]+"]" : param[:name]
    end

    def render_return