--- trunk/lib/Frey/Web.pm 2009/04/27 18:40:41 1064 +++ trunk/lib/Frey/Web.pm 2009/04/27 18:43:18 1065 @@ -194,13 +194,11 @@ } -my $seen; - sub _add_css_js { my ( $self, $what, $content ) = @_; my $md5 = md5( $content ); - return if $seen->{$what}->{$md5}++; + return if $self->{_add_css_js_seen}->{$what}->{$md5}++; my $tag = $what eq 'css' ? 'style' : 'script'; my $type = $what eq 'css' ? 'text/css' : 'text/javascript';