--- trunk/lib/Frey/Web.pm 2008/11/26 20:48:07 546 +++ trunk/lib/Frey/Web.pm 2008/11/27 21:31:02 564 @@ -1,9 +1,11 @@ package Frey::Web; use Moose::Role; +with 'Frey::Session'; + use Frey::Types; -use Continuity::Widget::DomNode; +#use Continuity::Widget::DomNode; use Data::Dump qw/dump/; use Carp qw/confess cluck/; use File::Slurp; @@ -105,11 +107,6 @@ } } -sub dom2html { -# warn "## dom2html ",dump( @_ ); - return Continuity::Widget::DomNode->create( @_ )->to_string; -} - sub _inline_path { my ( $self, $path ) = @_; -s $path < $self->inline_smaller_than; @@ -355,7 +352,7 @@ warn "# $class from $self icon_path $path"; return $path; } else { - warn "TODO: add $path icon for $class"; + $self->TODO( "add $path icon for $class" ); return undef; } }