--- trunk/lib/Frey/Introspect.pm 2008/07/15 18:06:27 137 +++ trunk/lib/Frey/Introspect.pm 2008/07/15 23:35:27 139 @@ -138,6 +138,9 @@ sub html { my ( $self, $request ) = @_; + $self->add_css( 'static/introspect.css' ); + warn "## css = ",dump( $self->css ); + while (1) { my ( $meta, $is_role ) = $self->load_package; @@ -153,7 +156,7 @@ my $attr = $meta->get_attribute($_); my ( $before, $title, $after ) = ( '', '', '' ); ( $before, $title, $after ) = ( '', ' title="required"', '' ) if $attr->is_required; - qq|$before$_$after| + qq|$before$_$after| } sort $meta->get_attribute_list } @@ -171,10 +174,6 @@ Frey::ClassBrowser->new->markup . qq||; - $self->add_css( 'static/introspect.css' ); - - warn "## css = ",dump( $self->css ); - my ( $superclasses, $roles ) = ( '', 'Role' ); if ( ! $is_role ) { if ( $meta->superclasses ) {