Opened 16 years ago
Closed 16 years ago
#4695 closed Bug (fixed)
CKPackager remove mandatory braces
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Must have (possibly next milestone) | Milestone: | |
| Component: | Project : CKPackager | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description
Having the following input:
if( typeof foo == 'object' )
{
for( var i in foo )
if( foo.hasOwnProperty( i ) )
bar = foo[ i ];
}
else
bar = foo;
Will be compressed into:
if( typeof foo == 'object' )
for( var i in foo )
if( foo.hasOwnProperty( i ) )
bar = foo[ i ];
else
bar = foo;
Attachments (1)
Change History (4)
Changed 16 years ago by
| Attachment: | 4695.patch added |
|---|
comment:1 Changed 16 years ago by
| Keywords: | Review? added |
|---|---|
| Owner: | set to Garry Yao |
| Status: | new → assigned |
comment:2 Changed 16 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:3 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Fixed with [4649].