Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pquery
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
pquery
Commits
1960d97e
Commit
1960d97e
authored
Nov 14, 2011
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved cache trimming to location where it actually works...
parent
ecd82009
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pquery.cache.php
pquery.cache.php
+1
-1
pquery.js.php
pquery.js.php
+1
-1
No files found.
pquery.cache.php
View file @
1960d97e
...
@@ -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
;
}
}
...
...
pquery.js.php
View file @
1960d97e
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment