mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-22 19:52:50 +01:00
Spaces after //
This commit is contained in:
parent
b77673f350
commit
2053c04da5
@ -298,7 +298,7 @@ class CSS extends Minify
|
||||
// loop css data (raw data and files)
|
||||
foreach ($this->data as $source => $css) {
|
||||
|
||||
//put current source into import chain if it is a valid file
|
||||
// put current source into import chain if it is a valid file
|
||||
if ($this->canImportFile($source)) {
|
||||
array_push(self::$importChain, $source);
|
||||
}
|
||||
@ -338,7 +338,7 @@ class CSS extends Minify
|
||||
// combine css
|
||||
$content .= $css;
|
||||
|
||||
//remove current file from chain
|
||||
// remove current file from chain
|
||||
array_pop(self::$importChain);
|
||||
}
|
||||
|
||||
|
@ -319,8 +319,7 @@ abstract class Minify
|
||||
// PHP only supports $this inside anonymous functions since 5.4
|
||||
$minifier = $this;
|
||||
$callback = function ($match) use ($minifier) {
|
||||
//check the second index here, because the first always contains a quote
|
||||
//that's why inner block could never be reached
|
||||
// check the second index here, because the first always contains a quote
|
||||
if (!$match[2]) {
|
||||
/*
|
||||
* Empty strings need no placeholder; they can't be confused for
|
||||
|
Loading…
x
Reference in New Issue
Block a user