Skip to content
Snippets Groups Projects
Commit 1960d97e authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Moved cache trimming to location where it actually works...

parent ecd82009
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class pQueryCache extends pQuery implements pQueryExtension {
*
*/
function concatenate() {
$this->content = trim(implode("\n", array_map('file_get_contents', $this->files)));
$this->content = implode("\n", array_map('file_get_contents', $this->files));
return $this;
}
......
......@@ -40,7 +40,7 @@ class pQueryJs extends pQueryCache implements pQueryExtension {
*
*/
function minify() {
$this->content = JShrink::minify($this->content, array('flaggedComments' => false));
$this->content = trim(JShrink::minify($this->content, array('flaggedComments' => false)));
return $this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment