remove extra commas & add quotes around "null" key to make jshint happy#88
remove extra commas & add quotes around "null" key to make jshint happy#88puzrin merged 1 commit intonodeca:masterfrom
Conversation
remove extra commas & add quotes around "null" key to make jshint happy
|
That's strange. Your commit is correct, but i don't see this bugs under ubuntu & jshint 2.1.19, when run |
|
I saw the same errors if I just typed |
|
Ah, starting with version 2.0, the "extra comma" error is raised only if the And the other error is raised only if the |
|
No problems. Your commit is correct. I'd prefer to see such warning for es5. Because old browsers work with es5-shim, that fixes prototypes but does not fixes syntax problems. |
|
Unfortunately turning on |
I'm not sure if I'm missing something or if you're using a different version or configuration of jshint from mine, but
make testfor me gives a bunch of jshint errors about extra commas (plus one about using "null" as a key without quotes around it). This cleans those up.