Amjad Masad
8689d1a045
Never print comments in compact mode
2015-12-07 02:37:53 -08:00
Amjad Masad
89e6d5bc7e
Always print strings for consistency
2015-12-07 02:30:14 -08:00
Henry Zhu
3f7019f964
v6.3.15
2015-12-06 11:31:46 -05:00
Henry Zhu
6082ac8a59
skip nested new expressions
2015-12-05 14:19:31 -05:00
Henry Zhu
21f76655ad
account for parent NewExpression with arguments
2015-12-05 13:37:06 -05:00
Henry Zhu
8a1ad5350c
Merge pull request #3111 from amasad/new
...
No need for parens for new expressions without args
2015-12-05 13:33:23 -05:00
Henry Zhu
0587a5d12c
v6.3.14
2015-12-04 13:52:36 -05:00
Sebastian McKenzie
d6117a9e27
Merge branch 'master' of github.com:babel/babel
2015-12-04 23:17:11 +11:00
Sebastian McKenzie
7b36967416
v6.3.13
2015-12-04 22:56:51 +11:00
Sebastian McKenzie
ae831c2270
v6.3.12
2015-12-04 22:56:13 +11:00
Amjad Masad
9c20ace184
Add support for null literal type
2015-12-03 23:58:25 -08:00
Amjad Masad
88ab37ecb4
v6.3.1
2015-12-01 10:52:40 -08:00
Amjad Masad
2efb677822
Add test cases with spaces
2015-12-01 10:47:25 -08:00
Amjad Masad
54a2a47030
Fix spacing in binary expression when right is a binary expression and has a unary on the left
2015-12-01 10:37:58 -08:00
Amjad Masad
2f5b953066
v6.3.0
2015-11-30 14:58:30 -08:00
Amjad Masad
c78c27a8d6
It's only valid if the node is the callee
2015-11-24 19:24:05 -08:00
Amjad Masad
486d781be3
Handle member expressions
2015-11-24 19:20:06 -08:00
Amjad Masad
f1f6c820fe
Handle new X()()
2015-11-24 19:12:24 -08:00
Amjad Masad
d32fae6fcd
No need for parens for new expressions without args
2015-11-24 19:07:03 -08:00
Amjad Masad
e481c5b570
use + instead of template string
2015-11-24 19:01:12 -08:00
Amjad Masad
e4c5d9dcb3
Respect compact mode in spacing
2015-11-24 19:01:12 -08:00
Amjad Masad
44d5552840
Fix up semicolon omission in compact mode
2015-11-23 21:32:44 -08:00
Sebastian McKenzie
ac90ea20ea
v6.2.0
2015-11-18 20:33:47 -08:00
Sebastian McKenzie
f8c2beb9d8
Merge pull request #3088 from kpdecker/terminal-after-comment
...
Output auxiliaryCommentAfter before trail comment
2015-11-17 23:01:32 -08:00
Amjad Masad
1612c70c10
Take the alternate existence into account
2015-11-17 19:16:19 -08:00
Amjad Masad
35e575cf93
Print a block when encountering consequents that are if statements
2015-11-17 19:07:20 -08:00
kpdecker
1286200712
Output auxiliaryCommentAfter before trail comment
...
Quick fix for the case where generated comment is the terminal leaf in a subtree that is followed by a trailing comment.
Partial for #3034
2015-11-16 20:59:24 -06:00
Daniel Lo Nigro
0076204f80
Fix Flow.
...
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes #3064
2015-11-15 21:30:22 -08:00
kpdecker
488f5a067e
Avoid duplicate auxiliary start if in aux section
...
Fixes #3032
2015-11-13 13:43:23 -06:00
Sebastian McKenzie
5b6a39f227
v6.1.20
2015-11-13 03:38:54 -08:00
Sebastian McKenzie
9d8db74517
only infer whitespace when we've been passed tokens
2015-11-13 03:37:27 -08:00
Sebastian McKenzie
4a1e5c17b4
v6.1.18
2015-11-12 13:46:30 -08:00
Sebastian McKenzie
23fd185590
v6.1.17
2015-11-12 13:40:25 -08:00
Sebastian McKenzie
c4c66687ea
v6.1.16
2015-11-12 13:33:20 -08:00
Sebastian McKenzie
9c91b555f9
v6.1.15
2015-11-12 12:15:47 -08:00
Sebastian McKenzie
f127f81cb7
v6.1.14
2015-11-12 12:01:18 -08:00
Sebastian McKenzie
548d973d12
v6.1.13
2015-11-12 11:57:45 -08:00
Sebastian McKenzie
af208e8acb
v6.1.12
2015-11-12 00:47:51 -08:00
Sebastian McKenzie
8fb4d55687
v6.1.11
2015-11-11 23:58:22 -08:00
Sebastian McKenzie
98b3dda500
v6.1.10
2015-11-11 23:52:57 -08:00
Sebastian McKenzie
15baf2afb5
v6.1.9
2015-11-11 23:46:00 -08:00
Sebastian McKenzie
e018723c7e
v6.1.8
2015-11-11 23:40:20 -08:00
Sebastian McKenzie
8dcf4aedc0
v6.1.7
2015-11-11 23:37:19 -08:00
Sebastian McKenzie
97443eada6
v6.1.6
2015-11-11 23:32:43 -08:00
Sebastian McKenzie
803f58f7ad
v6.1.5
2015-11-11 23:30:14 -08:00
Sebastian McKenzie
caff1e72a5
v6.1.10
2015-11-11 23:28:53 -08:00
Sebastian McKenzie
541e547848
v6.1.9
2015-11-11 23:27:56 -08:00
Sebastian McKenzie
26e56bc966
v6.1.5
2015-11-11 22:48:30 -08:00
Sebastian McKenzie
139a61e50d
account for integers with decimal 0 - fixes #3002
2015-11-11 22:11:47 -08:00
Sebastian McKenzie
03383bdf31
v6.1.4
2015-11-11 02:04:26 -08:00