Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 9b5c3bc3ccd25f5cb93bd55d11f162de

perl-JavaScript-Minifier-1.16-1.noarch.rpm

Description:

This module removes unnecessary whitespace from JavaScript code. The
primary requirement developing this module is to not break working
code: if working JavaScript is in input then working JavaScript is
output. It is ok if the input has missing semi-colons, snips like '++
+' or '12 .toString()', for example. Internet Explorer conditional
comments are copied to the output but the code inside these comments
will not be minified.

The ECMAScript specifications allow for many different whitespace
characters: space, horizontal tab, vertical tab, new line, carriage
return, form feed, and paragraph separator. This module understands
all of these as whitespace except for vertical tab and paragraph
separator. These two types of whitespace are not minimized.

For static JavaScript files, it is recommended that you minify during
the build stage of web deployment. If you minify on-the-fly then it
might be a good idea to cache the minified file. Minifying static
files on-the-fly repeatedly is wasteful.

Sources packages:

Other version of this rpm: