lib/jsduck/inherit_doc.rb in jsduck-4.1.1 vs lib/jsduck/inherit_doc.rb in jsduck-4.2.0
- old
+ new
@@ -38,10 +38,10 @@
if m[:autodetected]
m[:meta] = parent[:meta].merge(m[:meta])
end
# remember properties that have changed to configs
- if m[:tagname] != parent[:tagname]
+ if m[:autodetected] && m[:tagname] != parent[:tagname]
new_cfgs << m
end
end
resolve_visibility(m, parent)