Commit ecb0c59a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Hide empty tables in documentation page.

parent 6d503903
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -94,6 +94,9 @@ module JsDuck
    end

    def table(idSuffix, title, columnTitle, rows)
      # When no rows to show, create no table whatsoever
      return "" if rows.length == 0

      [
       "<a id='#{@cls.full_name}-#{idSuffix}'></a>",
       "<h2>#{title}</h2>",