Commit 84463d9b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove old code for linking class members source.

@class now always gets split up to multiple docsets, so there's no
need to loop through the members of a class docset, as there will never
be any.
parent f9d23a72
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ module JsDuck
      private

      # Creates two-way link between sourcefile and doc-object.
      # If doc-object is class, links also the contained cfgs and constructor.
      # Returns the modified doc-object after done.
      def link(linenr, doc)
        @links[linenr] = [] unless @links[linenr]
@@ -84,9 +83,6 @@ module JsDuck
        }
        @links[linenr] << {:doc => doc, :file => file}
        doc[:files] = [file]
        if doc[:tagname] == :class
          doc[:members].each {|m| link(linenr, m) }
        end
        doc
      end