Commit graph

8 commits

Author SHA1 Message Date
Sheetal Nandi e0faa65d4b Merge pull request #455 from Microsoft/formatComment
Align the multiline comments in the generated outputs by retaining its position relative to the first line in the comment
2014-08-18 13:26:18 -07:00
Sheetal Nandi 6ab3adfd43 Modified the emitComment logic to handle emitting leading or trailing spaces depending on flags
Leading comments have trailing separator while trailing comments have leading space
This removes the extra trailing space in the trailing comments
2014-08-15 14:32:08 -07:00
Sheetal Nandi 48c3abd445 Test cases for trailing comments of object literal 2014-08-15 13:30:26 -07:00
Sheetal Nandi e76d8f36b6 Align the multiline comments in the generated outputs by retaining its position relative to the first line in the comment 2014-08-14 14:43:28 -07:00
Sheetal Nandi d815c14943 Emit the property assignment comments of the object literal 2014-08-14 05:57:24 -07:00
Daniel Rosenwasser fe4c738b01 No longer emit trailing comma on object literals.
This was done because trailing commas in object literals are not accepted by ES3.

Fixes #271.
2014-07-28 11:37:36 -07:00
Daniel Rosenwasser 56f29e02d2 Preserve trailing commas on array- and object-literals. 2014-07-14 14:26:19 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00