Closed butterflyfish closed 8 years ago
{ "libs": [ "browser" ], }
tern report message:
tern Bad JSON in /Users/michael/x/.tern-project: Unexpected token } in JSON at position 41
after removing , after ], completion work.
This is not a bug.
This is JSON format... this is not a JS file so you can't have a comma after last field-value or array item. Should be in this way:
{ "libs": [ "browser" ] }
tern report message:
after removing , after ], completion work.