--- trunk/lib/Frey/Web.pm 2008/12/10 17:51:29 793 +++ trunk/lib/Frey/Web.pm 2008/12/11 21:06:41 813 @@ -185,14 +185,23 @@ } sub add_js { - my ($self,$css) = @_; + my ($self,$js) = @_; my ( $package, $path, $line ) = caller; - $self->add_head( qq| - - | ); + + if ( $js =~ m{http.*\.js} ) { + $self->add_head( qq| + + |); + } else { + $self->add_head( qq| + + | ); + }; } our $reload_counter = 0; @@ -419,7 +428,7 @@ my ($self) = shift; @head = ( 'static/frey.css' ); @status = ( - { 'ClassBrowser' => Frey::Class::Browser->new( usage_on_top => 0 )->as_markup }, + { 'ClassBrowser' => Frey::Class::Browser->new( usage_sort => 1, usage_on_top => 0 )->as_markup }, { 'Bookmarklets' => Frey::Bookmarklet->new->as_markup }, { 'INC' => Frey::INC->new->as_markup }, );