--- trunk/lib/Frey/Web.pm 2008/09/09 23:14:31 183 +++ trunk/lib/Frey/Web.pm 2008/10/30 22:35:11 206 @@ -12,6 +12,13 @@ default => sub { [ 'static/frey.css' ] }, ); +=head2 inline_smaller_than + +Inline JavaScript and CSS smaller than this size into page reducing +round-trips to server. + +=cut + has 'inline_smaller_than' => ( is => 'rw', isa => 'Int', @@ -88,6 +95,8 @@ =cut +use Frey::Bookmarklet; + sub page { my $self = shift; my $a = {@_}; @@ -100,7 +109,10 @@ . ( $a->{head} || '' ) . '' . ( $a->{body} || '' ) - . qq|
Frey $Frey::VERSION reload
| + . qq|
+ Frey $Frey::VERSION + reload + Bookmarklets| . Frey::Bookmarklet->markup . qq|| . '' ;