Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Source.php';
|
||||
require_once 'Minify/Source.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Maintain a single last modification time for a group of Minify sources to
|
||||
|
||||
@@ -50,12 +50,12 @@ class Minify_CSS {
|
||||
*/
|
||||
public static function minify($css, $options = array())
|
||||
{
|
||||
require_once 'Minify/CSS/Compressor.php';
|
||||
require_once 'Minify/CSS/Compressor.php';/*noLibHook*/
|
||||
if (isset($options['preserveComments'])
|
||||
&& !$options['preserveComments']) {
|
||||
$css = Minify_CSS_Compressor::process($css, $options);
|
||||
} else {
|
||||
require_once 'Minify/CommentPreserver.php';
|
||||
require_once 'Minify/CommentPreserver.php';/*noLibHook*/
|
||||
$css = Minify_CommentPreserver::process(
|
||||
$css
|
||||
,array('Minify_CSS_Compressor', 'process')
|
||||
@@ -65,7 +65,7 @@ class Minify_CSS {
|
||||
if (! isset($options['currentDir']) && ! isset($options['prependRelativePath'])) {
|
||||
return $css;
|
||||
}
|
||||
require_once 'Minify/CSS/UriRewriter.php';
|
||||
require_once 'Minify/CSS/UriRewriter.php';/*noLibHook*/
|
||||
if (isset($options['currentDir'])) {
|
||||
return Minify_CSS_UriRewriter::rewrite(
|
||||
$css
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,7 +9,7 @@ class Minify_Cache_File {
|
||||
public function __construct($path = '', $fileLocking = false)
|
||||
{
|
||||
if (! $path) {
|
||||
require_once 'Solar/Dir.php';
|
||||
require_once 'Solar/Dir.php';/*noLibHook*/
|
||||
$path = rtrim(Solar_Dir::tmp(), DIRECTORY_SEPARATOR);
|
||||
}
|
||||
$this->_locking = $fileLocking;
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -60,7 +60,7 @@ abstract class Minify_Controller_Base {
|
||||
,'postprocessor' => null
|
||||
// file to require to load preprocessor
|
||||
,'postprocessorRequire' => null
|
||||
);
|
||||
);/*noLibHook*/
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -100,7 +100,7 @@ abstract class Minify_Controller_Base {
|
||||
&& is_string($minifierCallback[0])
|
||||
&& !class_exists($minifierCallback[0], false)) {
|
||||
|
||||
require str_replace('_', '/', $minifierCallback[0]) . '.php';
|
||||
require str_replace('_', '/', $minifierCallback[0]) . '.php';/*noLibHook*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ abstract class Minify_Controller_Base {
|
||||
* @return null
|
||||
*/
|
||||
protected function log($msg) {
|
||||
require_once 'Minify/Logger.php';
|
||||
require_once 'Minify/Logger.php';/*noLibHook*/
|
||||
Minify_Logger::log($msg);
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Controller/Base.php';
|
||||
require_once 'Minify/Controller/Base.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Controller class for minifying a set of files
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Controller/Base.php';
|
||||
require_once 'Minify/Controller/Base.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Controller class for serving predetermined groups of minimized sets, selected
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Controller/Base.php';
|
||||
require_once 'Minify/Controller/Base.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Controller class for requests to /min/index.php
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Controller/Base.php';
|
||||
require_once 'Minify/Controller/Base.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Controller class for serving a single HTML page
|
||||
@@ -73,8 +73,8 @@ class Minify_Controller_Page extends Minify_Controller_Base {
|
||||
if ($this->_loadCssJsMinifiers) {
|
||||
// Minify will not call for these so we must manually load
|
||||
// them when Minify/HTML.php is called for.
|
||||
require_once 'Minify/CSS.php';
|
||||
require_once 'JSMin.php';
|
||||
require_once 'Minify/CSS.php';/*noLibHook*/
|
||||
require_once 'JSMin.php';/*noLibHook*/
|
||||
}
|
||||
parent::loadMinifier($minifierCallback); // load Minify/HTML.php
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require_once 'Minify/Controller/Base.php';
|
||||
require_once 'Minify/Controller/Base.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Controller class for emulating version 1 of minify.php
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -99,7 +99,7 @@ class Minify_ImportProcessor {
|
||||
// protocol, leave in place for CSS, comment for JS
|
||||
return self::$_isCss
|
||||
? $m[0]
|
||||
: "/* Minify_ImportProcessor will not include remote content */";
|
||||
: "/* Minify_ImportProcessor will not include remote content */";/*noLibHook*/
|
||||
}
|
||||
if ('/' === $url[0]) {
|
||||
// protocol-relative or root path
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package Minify
|
||||
*/
|
||||
|
||||
require 'JSMin.php';
|
||||
require 'JSMin.php';/*noLibHook*/
|
||||
|
||||
/**
|
||||
* Compress Javascript using Ryan Grove's JSMin class
|
||||
|
||||
@@ -59,7 +59,7 @@ class Minify_Lines {
|
||||
|
||||
// check for desired URI rewriting
|
||||
if (isset($options['currentDir'])) {
|
||||
require_once 'Minify/CSS/UriRewriter.php';
|
||||
require_once 'Minify/CSS/UriRewriter.php';/*noLibHook*/
|
||||
Minify_CSS_UriRewriter::$debugText = '';
|
||||
$content = Minify_CSS_UriRewriter::rewrite(
|
||||
$content
|
||||
|
||||
@@ -19,7 +19,7 @@ if (false === (@include 'class.JavaScriptPacker.php')) {
|
||||
'The script "class.JavaScriptPacker.php" is required. Please see: http:'
|
||||
.'//code.google.com/p/minify/source/browse/trunk/min/lib/Minify/Packer.php'
|
||||
,E_USER_ERROR
|
||||
);
|
||||
);/*noLibHook*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user