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.


<<attachment: Screenshot from 2013-04-02 16:33:00.png>>

<<attachment: Screenshot from 2013-04-02 16:34:48.png>>

Reply via email to