]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/JS.pm
Import some changes from the mindcoding branch
[gruntmaster-page.git] / lib / Gruntmaster / Page / JS.pm
index b8ddafba37e714c23349ca4f24fb494c96fd52cc..f51000e85693665d81d3bcea6f5586fc1183c28e 100644 (file)
@@ -1,13 +1,6 @@
 package Gruntmaster::Page::JS;
 
-use 5.014000;
-use strict;
-use warnings;
 use Gruntmaster::Page::Base;
-our @ISA = qw/Gruntmaster::Page::Base/;
-our $VERSION = '0.001';
-
-use File::Slurp qw/read_file/;
 use JavaScript::Minifier::XS qw/minify/;
 
 sub generate{
@@ -18,6 +11,4 @@ sub generate{
        [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800', 'X-Forever' => 1], [minify $js] ]
 }
 
-sub variants{ [[js => 1, 'application/javascript', undef, undef, undef, undef]] }
-
 1
This page took 0.019292 seconds and 4 git commands to generate.