git clang-format may not handle JS conditional (ternary) operator in the correct way |
||
Issue description
git clang-format suggests making the following changes, which looks a little strange:
- var options =
- useNewWallpaperPicker ?
- {
- frame: 'none',
- innerBounds: {width: 768, height: 512, minWidth: 768, minHeight: 512},
- resizable: true,
- alphaEnabled: true
- } :
- {
- frame: 'none',
- width: 574,
- height: 420,
- resizable: false,
- alphaEnabled: true
- };
+ var options = useNewWallpaperPicker ? {
+ frame: 'none',
+ innerBounds: {width: 768, height: 512, minWidth: 768, minHeight: 512},
+ resizable: true,
+ alphaEnabled: true
+ } :
+ {
+ frame: 'none',
+ width: 574,
+ height: 420,
+ resizable: false,
+ alphaEnabled: true
+ };
Is this intended?
,
Aug 26
Yes but I have trying first
,
Nov 27
|
||
►
Sign in to add a comment |
||
Comment 1 by wzang@chromium.org
, Jun 25 2018