Loading lib/jsduck/aggregator.rb +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ module JsDuck # Merges new class-doc into old one. def merge_classes(old, new) [:extends, :xtype, :singleton, :private, :alternateClassName].each do |tag| [:extends, :xtype, :singleton, :private, :alternateClassName, :mixins].each do |tag| old[tag] = old[tag] || new[tag] end old[:doc] = old[:doc].length > 0 ? old[:doc] : new[:doc] Loading Loading @@ -154,6 +154,7 @@ module JsDuck :tagname => :class, :name => name, :doc => "", :mixins => [], :cfg => [], :property => [], :method => [], Loading Loading
lib/jsduck/aggregator.rb +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ module JsDuck # Merges new class-doc into old one. def merge_classes(old, new) [:extends, :xtype, :singleton, :private, :alternateClassName].each do |tag| [:extends, :xtype, :singleton, :private, :alternateClassName, :mixins].each do |tag| old[tag] = old[tag] || new[tag] end old[:doc] = old[:doc].length > 0 ? old[:doc] : new[:doc] Loading Loading @@ -154,6 +154,7 @@ module JsDuck :tagname => :class, :name => name, :doc => "", :mixins => [], :cfg => [], :property => [], :method => [], Loading