Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Stray commas

One of the build problems last night was an an extra trailing comma in an object literal. These are tolerated by browsers but are illegal and cause the closure compiler in our build to fail. This is just a reminder that we should all be using the Orion _javascript_ editor, which correctly reports trailing commas as illegal. Please don't commit any JS file that has errors showing in the Orion editor. These problems are trivial to catch at editing time but can be really difficult to track down in the build (Simon was tracking this down until 1am last night).

John

Back to the top