Thursday, December 26, 2013

bower returns EMALFORMED

It turns out that in bower.json file, there is no // comments. It is true as JSON doesn't allow comments.

Suppose you are using JSON to keep configuration files, which you would like to annotate. Go ahead and insert all the comments you like. Then pipe it through JSMin before handing it to your JSON parser.

or check out

No comments:

Post a Comment