For reference, this was also reported in issue 6339<http://code.google.com/p/fbug/issues/detail?id=6339>, which is a duplicate of issue 4646<http://code.google.com/p/fbug/issues/detail?id=4646> .
Sebastian On Tuesday, April 2, 2013 5:13:38 PM UTC+2, [email protected] wrote: > > The following is incorrectly parsed: > > *657* var albumsCount = 0; > *658* for (var i=0; i < albums.length; ++i) { // <= brace on same > line > *659* if (albums[i].nodeType != 3) ++albumsCount; > 660 } > 661 if (albumsCount == 0) { // SHOULD NOT BE GREYED > 662 createAlbum(false); // SHOULD NOT BE GREYED > 663 } > > But, following your "brace on single line" rule, it works. > > *657* var albumsCount = 0; > *658* for (var i=0; i < albums.length; ++i) { > 659 { // <= brace on new line > *660* if (albums[i].nodeType != 3) ++albumsCount; > 661 } > *662* if (albumsCount == 0) { > *663* createAlbum(false); > 664 } > > (original images attached) > -- -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at https://groups.google.com/forum/#!forum/firebug --- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
