/[Frey]/trunk/lib/Frey/ClassBrowser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/ClassBrowser.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 544 by dpavlin, Wed Nov 26 07:57:12 2008 UTC revision 545 by dpavlin, Wed Nov 26 20:47:13 2008 UTC
# Line 70  sub as_markup { Line 70  sub as_markup {
70                          map { $row->{$_} }                          map { $row->{$_} }
71                          sort {                          sort {
72                                  if ( $usage->{$a} || $usage->{$b} ) {                                  if ( $usage->{$a} || $usage->{$b} ) {
73                                          if ( $self->usage_on_top ) {                                          $self->usage_on_top ? $usage->{$b} <=> $usage->{$a} : $usage->{$a} <=> $usage->{$b};
                                                 $usage->{$b} <=> $usage->{$a};  
                                         } else {  
                                                 $usage->{$a} <=> $usage->{$b};  
                                         }  
74                                  } else {                                  } else {
75                                          $a cmp $b;                                          $self->usage_on_top ? $a cmp $b : $b cmp $a;
76                                  }                                  }
77                          }                          }
78                          keys %$row                          keys %$row

Legend:
Removed from v.544  
changed lines
  Added in v.545

  ViewVC Help
Powered by ViewVC 1.1.26