Commit 279b14fe authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix merging of constructor docs.

This fixes the constructor docs for Ext.Element, which has its
members spread out in several files.
parent 90d42a5d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -57,7 +57,9 @@ module JsDuck
        old[tag] = old[tag] + new[tag]
      end
      old[:doc] = old[:doc].length > 0 ? old[:doc] : new[:doc]
      old[:members][:cfg] = old[:members][:cfg] + new[:members][:cfg]
      # Additionally the doc-comment can contain configs and constructor
      old[:members][:cfg] += new[:members][:cfg]
      old[:members][:method] += new[:members][:method]
    end

    # Tries to place members into classes where they belong.