Commit graph

6 commits

Author SHA1 Message Date
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
Vladimir Matveev d10f2e713e do not propagate property name as name for function expression 2014-07-23 11:48:29 -07:00
Daniel Rosenwasser 819ea95953 Better error recovery for when an arrow function is missing a curly brace.
Also better identification of arrow function expressions.
2014-07-18 16:55:18 -07:00
Vladimir Matveev f1ce09caa3 do not propagate function name in property accessors 2014-07-17 14:18:24 -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