On line 84 of index.htmlinfo.tags gets checked with an if(){} statement, in my case my tags object was empty like so
"tags":{}
The if(){} returns true because an empty JavaScript object is a truthy value. This causes the for loop on line 85 to throw an error because it can't iterate.
The fix (I think would be best) is to check for the length of keys in the object.
Thanks for the report! I'll probably submit a fix & release a new version later today. Also, it is probably a sign that the project grew enough to have more formal testing :)
On line
84
ofindex.html
info.tags
gets checked with anif(){}
statement, in my case mytags
object was empty like soThe
if(){}
returnstrue
because an empty JavaScript object is a truthy value. This causes the for loop on line85
to throw an error because it can't iterate.The fix (I think would be best) is to check for the length of keys in the object.