Loading lib/jsduck/search_data.rb +5 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ module JsDuck # add all local members, but skip constructors cls[:members].each do |m| list << member_node(m, cls) unless m[:name] == ClassName.short(cls[:name]) list << member_node(m, cls) unless constructor?(m) end end Loading @@ -42,6 +42,10 @@ module JsDuck private def constructor?(m) m[:tagname] == :method && m[:name] == "constructor" end def alias_node(key, name, cls) return { :name => name, Loading Loading
lib/jsduck/search_data.rb +5 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ module JsDuck # add all local members, but skip constructors cls[:members].each do |m| list << member_node(m, cls) unless m[:name] == ClassName.short(cls[:name]) list << member_node(m, cls) unless constructor?(m) end end Loading @@ -42,6 +42,10 @@ module JsDuck private def constructor?(m) m[:tagname] == :method && m[:name] == "constructor" end def alias_node(key, name, cls) return { :name => name, Loading