Commit 375075dd authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove extra one-element hash from categories JSON.

The categories JSON file must now just contain an array, just like
the JSON files for videos, guides and examples do.

Simplicity FTW!
parent 908fe14a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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|