1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-16 02:54:33 +02:00

do some trivial codestyle fixes

unix newlines, trailing spaces
This commit is contained in:
Elan Ruusamäe
2016-01-22 00:30:38 +02:00
parent 90bf31f53b
commit 379feaba99
40 changed files with 1424 additions and 1327 deletions

View File

@@ -35,6 +35,7 @@ class Minify_LessCssSource extends Minify_Source {
$lastModified = max($lastModified, $mtime);
}
return $lastModified;
}
@@ -90,6 +91,7 @@ class Minify_LessCssSource extends Minify_Source {
*/
private function getCacheId($prefix = 'minify') {
$md5 = md5($this->filepath);
return "{$prefix}_less_{$md5}";
}
@@ -102,6 +104,7 @@ class Minify_LessCssSource extends Minify_Source {
$less = new lessc();
// do not spend CPU time letting less doing minify
$less->setPreserveComments(true);
return $less;
}
}