X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FJS.pm;h=dca5affe76e7ab247dbbfa0bdf40573d86d33b47;hb=191f4979def520b8be01554eb954c80ee42df38b;hp=26b1be026c7068f2c6ff263148ff89cf07394cd0;hpb=52f5c67912992aecd2a58b32cb81e1aabb7d94cc;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/JS.pm b/lib/Gruntmaster/Page/JS.pm index 26b1be0..dca5aff 100644 --- a/lib/Gruntmaster/Page/JS.pm +++ b/lib/Gruntmaster/Page/JS.pm @@ -11,8 +11,8 @@ use File::Slurp qw/read_file/; use JavaScript::Minifier::XS qw/minify/; sub generate{ - my ($self, $format, $logger) = @_; - debug $logger => ""; + my ($self, $format, $env) = @_; + debug $env => ""; my $js; $js .= read_file $_ for ; [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800'], [$js] ]