aseemk / node-neo4j-template

A template app for using Neo4j from Node.js.
http://node-neo4j-template.herokuapp.com/
216 stars 92 forks source link

Update user.js #8

Closed ghost closed 10 years ago

ghost commented 10 years ago

removed extra comma at line 54, 109

aseemk commented 10 years ago

@theriddler: thanks for submitting this! In fact, though, JavaScript as of version 5 (long supported by Node.js) accepts trailing commas in object literals. I've adopted this as a coding standard so that you never have to think "do I need a trailing comma here?" So the commas here are on purpose.

Thanks again for the watchful eyes. =)