mirror of
https://github.com/mrclay/minify.git
synced 2025-08-21 13:21:59 +02:00
Prep for 2.1.6
This commit is contained in:
12
HISTORY.txt
12
HISTORY.txt
@@ -1,5 +1,17 @@
|
|||||||
Minify Release History
|
Minify Release History
|
||||||
|
|
||||||
|
Version 2.1.6
|
||||||
|
* JSMin fixes
|
||||||
|
* Prevents some Closure Compiler API failures
|
||||||
|
* Uses autoloading for all class loading
|
||||||
|
* Multiple group support in HTML Helper
|
||||||
|
* Cache adaptor for XCache
|
||||||
|
* Allow setting stack-size in YUI Compressor wrapper
|
||||||
|
* Adds jsCleanComments option to HTML minifier
|
||||||
|
* Upgrades CSSmin
|
||||||
|
* CLI script more portable
|
||||||
|
* Adds composer.json
|
||||||
|
|
||||||
Version 2.1.5
|
Version 2.1.5
|
||||||
* Removed XSS vulnerability
|
* Removed XSS vulnerability
|
||||||
* Disabled builder bby default
|
* Disabled builder bby default
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
class Minify {
|
class Minify {
|
||||||
|
|
||||||
const VERSION = '2.1.5';
|
const VERSION = '2.1.6';
|
||||||
const TYPE_CSS = 'text/css';
|
const TYPE_CSS = 'text/css';
|
||||||
const TYPE_HTML = 'text/html';
|
const TYPE_HTML = 'text/html';
|
||||||
// there is some debate over the ideal JS Content-Type, but this is the
|
// there is some debate over the ideal JS Content-Type, but this is the
|
||||||
@@ -441,7 +441,7 @@ class Minify {
|
|||||||
/**
|
/**
|
||||||
* Set up sources to use Minify_Lines
|
* Set up sources to use Minify_Lines
|
||||||
*
|
*
|
||||||
* @param array $sources Minify_Source instances
|
* @param Minify_Source[] $sources Minify_Source instances
|
||||||
*/
|
*/
|
||||||
protected static function _setupDebug($sources)
|
protected static function _setupDebug($sources)
|
||||||
{
|
{
|
||||||
@@ -458,6 +458,8 @@ class Minify {
|
|||||||
* Combines sources and minifies the result.
|
* Combines sources and minifies the result.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
|
*
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected static function _combineMinify()
|
protected static function _combineMinify()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user