Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment