diff --git a/lib/jsduck/categories.rb b/lib/jsduck/categories.rb index 690d1f63cfdcceee541e35a1fae37d07d6fe1a1c..a55604d95201fc46227e0b91e80cd0ead6bc63a1 100644 --- a/lib/jsduck/categories.rb +++ b/lib/jsduck/categories.rb @@ -13,7 +13,7 @@ module JsDuck # Parses categories in JSON file def parse(path) - @categories = JsonDuck.read(path)["categories"] + @categories = JsonDuck.read(path) # Perform expansion on all class names containing * wildcard @categories.each do |cat|