Commit graph

12 commits

Author SHA1 Message Date
Cyrus Najmabadi ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Cyrus Najmabadi c371f1e521 Make the preservation of formatting an optional experimental compiler flag. 2015-03-08 19:06:55 -07:00
Cyrus Najmabadi 0fbbbffde6 Emit functions on a singline line if they were originally written on a single line. 2015-02-06 20:03:24 -08:00
Cyrus Najmabadi 36b6f4e1b7 Preserve single line blocks when emitting. 2015-02-06 18:45:09 -08:00
Sheetal Nandi 3dd21fc3a7 Trailing comment tests for parameters, fixes the trailing // comments and parameter indentation 2014-08-15 13:18:54 -07:00
Sheetal Nandi adc700aba5 Emit space before emitting trailing comments 2014-08-14 16:36:33 -07:00
Sheetal Nandi 0caa1f6dc7 Emit trailing comments 2014-08-14 09:47:50 -07:00
Sheetal Nandi 6d6f27cdce Emit comments for class and constructor 2014-08-14 06:42:18 -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
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00