NAME
Catalyst::View::JavaScript::Minifier::XS - Concenate and minify your JavaScript files.
VERSION
Version 0.01
SYNOPSIS
./script/myapp_create.pl view JavaScript JavaScript::Minifier::XS
sub javascript : Local {
my ($self,$c) = @_;
$c->stash->{template} = [ qw|/js/script.js /js/scrip2.js| ];
$c->forward($c->view('JavaScript'));
}
DESCRIPTION
Take a set of JavaScript files and integrate them into one big file using and then minifies them using JavaScript::Minifier::XS. The files are read from the 'template' stash variable, and can be provided as a hashref or a space separated scalar.
SEE ALSO
Catalyst , Catalyst::View, JavaScript::Minifier::XS
AUTHOR
Ivan Drinchev <drinchev at gmail.com>
BUGS
Please report any bugs or feature requests to bug-catalyst-view-JavaScript-minifier-xs at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-View-JavaScript-Minifier-XS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2009 Ivan Drinchev, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.