Template::Plugin::Filter::Minify::JavaScript::XS - JavaScript::Minifier::XS
filter for Template Toolkit
[% USE Filter.Minify.JavaScript.XS %]
[% FILTER minify_js %]
$(document).ready(
function() {
$('body').append('<div>Hello World!</div>');
}
);
[% END %]
This module is a Template Toolkit filter, which uses JavaScript::Minifier::XS to
compress javascript code from filtered content during template processing.
JavaScript::Minifier::XS, Template::Plugin::Filter, Template
The development version is on github at
<http://github.com/mschout/template-plugin-filter-minify-javascript-xs>
and may be cloned from
<git://github.com/mschout/template-plugin-filter-minify-javascript-xs.git>
Please report any bugs or feature requests to
bug-template-plugin-filter-minify-javascript-xs@rt.cpan.org or through the web
interface at:
http://rt.cpan.org/Public/Dist/Display.html?Name=Template-Plugin-Filter-Minify-JavaScript-XS
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2014 by Michael Schout.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.