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

Place private class notice at the top.

Also remove the <tpl> tag... leftover from JS version.
parent 775a946e
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ module JsDuck
          "<div>",
            render_hierarchy,
            "<div class='doc-contents'>",
              @cls[:doc],
              render_private_class_notice,
              @cls[:doc],
            "</div>",
            "<div class='members'>",
              render_member_sections,
@@ -25,11 +25,9 @@ module JsDuck
    def render_private_class_notice
      return if !@cls[:private]
      return [
        "<tpl if='private'>",
        "<p class='private'><strong>NOTE</strong> ",
        "This is a private utility class for internal use by the framework. ",
        "Don't rely on its existence.</p>",
        "</tpl>",
      ]
    end