mirror of
https://github.com/mrclay/minify.git
synced 2025-08-16 19:14:01 +02:00
Make it work
This commit is contained in:
@@ -26,10 +26,8 @@
|
|||||||
* @todo more options support (or should just passthru them all?)
|
* @todo more options support (or should just passthru them all?)
|
||||||
*
|
*
|
||||||
* @package Minify
|
* @package Minify
|
||||||
* @author Stephen Clay <steve@mrclay.org>
|
|
||||||
* @author Elan Ruusamäe <glen@delfi.ee>
|
|
||||||
*/
|
*/
|
||||||
class Minify_ClosureCompiler {
|
class Minify_FastClosureCompiler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filepath of the Closure Compiler jar file. This must be set before
|
* Filepath of the Closure Compiler jar file. This must be set before
|
||||||
@@ -81,7 +79,7 @@ class Minify_ClosureCompiler {
|
|||||||
),
|
),
|
||||||
$userOptions
|
$userOptions
|
||||||
);
|
);
|
||||||
$cmd = self::$binPath . ' ' .
|
$cmd = self::$binPath . ' '
|
||||||
. (preg_match('/^[\\da-zA-Z0-9\\-]+$/', $o['charset'])
|
. (preg_match('/^[\\da-zA-Z0-9\\-]+$/', $o['charset'])
|
||||||
? " --charset {$o['charset']}"
|
? " --charset {$o['charset']}"
|
||||||
: '');
|
: '');
|
||||||
|
Reference in New Issue
Block a user