NAME

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

VERSION

version 0.94

SYNOPSIS

[% USE Filter.Minify.JavaScript %]

[% 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 to compress javascript code from filtered content during template processing.

SEE ALSO

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

SOURCE

The development version is on github at http://github.com/mschout/template-plugin-filter-minify-javascript and may be cloned from git://github.com/mschout/template-plugin-filter-minify-javascript.git

BUGS

Please report any bugs or feature requests to bug-template-plugin-filter-minify-javascript@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Template-Plugin-Filter-Minify-JavaScript

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.