
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Vista Sun JDK 1.6.0_05
|
|
| Build: |
7,757
|
| Severity: |
High
|
When IntelliJ reformatts JS with a comment embedded inside an if construct,
it will concatenate code onto the comment like:
eg the following JS:
if () {
}
// For Mozilla,Opera
else if () ..
{
}
when reformatted becomes:
if () {
}
// For Mozilla,Opera else if () ..
{
}
Here is a full code example, note the comment line
// code for Mozilla, Firefox, Opera, etc.
:
becomes:
|
|
Description
|
When IntelliJ reformatts JS with a comment embedded inside an if construct,
it will concatenate code onto the comment like:
eg the following JS:
if () {
}
// For Mozilla,Opera
else if () ..
{
}
when reformatted becomes:
if () {
}
// For Mozilla,Opera else if () ..
{
}
Here is a full code example, note the comment line
// code for Mozilla, Firefox, Opera, etc.
:
becomes:
|
Show » |
| There are no comments yet on this issue.
|
|