Opened 17 years ago
Closed 17 years ago
#1239 closed Bug (fixed)
do {} while () is getting broken when compressed
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.1 |
Component: | Project : CKPackager | Version: | |
Keywords: | Confirmed | Cc: |
Description
The following input:
do { alert( 'Test' ) ; } while ( (keyElem = getNextSibling(keyElem)) != null );
Outputs like this:
do{alert('Test');};while ((keyElem=getNextSibling(keyElem))!=null);
To note the semi-colon added right before "while".
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Keywords: | Confirmed added |
---|
comment:3 Changed 17 years ago by
comment:4 Changed 17 years ago by
Milestone: | → FCKeditor 2.6.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Moving the "while" right after the closing bracket workarounds the problem: