My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Minifier  
A plugin for minifying CSS and JavaScript.
Featured, MT, Plugin, MT4
en, ja
Updated May 7, 2010 by hirotaka...@gmail.com

The newest version is available at: http://wiki.github.com/ogawa/mt-plugin-Minifier/

Minifier Plugin

A plugin for minifying CSS and JavaScript. Dedicated to MT4.

Changes

  • 0.01:
    • Initial release.

Overview

Minifier plugin allows you to minify your CSS and JavaScript templates and reduce their file sizes.

Installation

  1. Download and extract Minifier-version.zip file.
  2. Upload or copy the contents of "Minifier-version/plugins" directory into your MT "plugins" directory.
  3. After proper installation, you will find "Minifier" plugin listed on the "System Plugin Settings" screen.

Tags and modifiers

Minifier plugin provides mt:CSSMinifier and mt:JSMinifier block tags.

mt:CSSMinifier

A block tag which minifies a CSS template.

Example:

    <mt:CSSMinifier>
    (contents of CSS template)
    </mt:CSSMinifier>

mt:JSMinifier

A block tag which minifies a JavaScript template.

Example:

    <mt:JSMinifier>
    (contents of JavaScript template)
    </mt:JSMinifier>

See Also

License

Copyright (c) 2008 Hirotaka Ogawa <hirotaka.ogawa at gmail.com>. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
  • the "Artistic License" which comes with Perl.
Comment by Nicolas....@gmail.com, Dec 11, 2009

Works in MT5!


Sign in to add a comment
Powered by Google Project Hosting