Loading lib/jsduck/doc/ast.rb +0 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,6 @@ module JsDuck def create_event(docs, doc_map) return add_shared({ :tagname => :event, :name => detect_name(:event, doc_map), :doc => detect_doc(docs), :params => detect_params(doc_map), }, doc_map) Loading lib/jsduck/tag/event.rb +5 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ module JsDuck::Tag class Event < Tag def initialize @pattern = "event" @key = :event @member_type = :event end Loading @@ -14,5 +15,9 @@ module JsDuck::Tag :name => p.hw.ident, } end def process_doc(h, tags) h[:name] = tags[0][:name] end end end Loading
lib/jsduck/doc/ast.rb +0 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,6 @@ module JsDuck def create_event(docs, doc_map) return add_shared({ :tagname => :event, :name => detect_name(:event, doc_map), :doc => detect_doc(docs), :params => detect_params(doc_map), }, doc_map) Loading
lib/jsduck/tag/event.rb +5 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ module JsDuck::Tag class Event < Tag def initialize @pattern = "event" @key = :event @member_type = :event end Loading @@ -14,5 +15,9 @@ module JsDuck::Tag :name => p.hw.ident, } end def process_doc(h, tags) h[:name] = tags[0][:name] end end end