Commit 9e155ce8 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make Since class return tagdef hash.

parent 1d068a3d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -10,9 +10,10 @@ module JsDuck::Tag
    end

    def parse(p)
      p.add_tag(:since)
      p.skip_horiz_white
      p.current_tag[:version] = p.match(/.*$/).strip
      {
        :tagname => :since,
        :version => p.hw.match(/.*$/).strip,
      }
    end

    def process_doc(tags)