Commit c43d32d3 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Categories#parse now includes validation.

Simpler api to call from main app.rb
parent db5d0156
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ module JsDuck
      @categories = Categories.new(get_doc_formatter, @relations)
      if @opts.categories_path
        @categories.parse(@opts.categories_path)
        @categories.validate
      else
        @categories.auto_generate
      end
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ module JsDuck
          end.flatten
        end
      end

      validate
    end

    # Expands class name like 'Foo.*' into multiple class names.