Commit 1960d97e authored by Taddeus Kroes's avatar Taddeus Kroes

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

parent ecd82009
...@@ -84,7 +84,7 @@ class pQueryCache extends pQuery implements pQueryExtension { ...@@ -84,7 +84,7 @@ class pQueryCache extends pQuery implements pQueryExtension {
* *
*/ */
function concatenate() { 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; return $this;
} }
......
...@@ -40,7 +40,7 @@ class pQueryJs extends pQueryCache implements pQueryExtension { ...@@ -40,7 +40,7 @@ class pQueryJs extends pQueryCache implements pQueryExtension {
* *
*/ */
function minify() { function minify() {
$this->content = JShrink::minify($this->content, array('flaggedComments' => false)); $this->content = trim(JShrink::minify($this->content, array('flaggedComments' => false)));
return $this; return $this;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment