NAME

Template::Plugin::Filter::Minify::JavaScript::XS - JavaScript::Minifier::XS filter for Template Toolkit

VERSION

version 0.94

SYNOPSIS

[% USE Filter.Minify.JavaScript.XS %]

[% FILTER minify_js %]
  $(document).ready(
      function() {
          $('body').append('<div>Hello World!</div>');
      }
  );
[% END %]

DESCRIPTION

This module is a Template Toolkit filter, which uses JavaScript::Minifier::XS to compress javascript code from filtered content during template processing.

SEE ALSO

JavaScript::Minifier::XS, Template::Plugin::Filter, Template

SOURCE

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

BUGS

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

AUTHOR

Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

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.