projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a55d7a
)
Pman.Download.js
author
Julian Knowles
<julian@roojs.com>
Fri, 2 Aug 2013 05:28:48 +0000
(13:28 +0800)
committer
Julian Knowles
<julian@roojs.com>
Fri, 2 Aug 2013 05:28:48 +0000
(13:28 +0800)
JsCompile.php
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
617a281
..
9cbc7dc
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-269,11
+269,11
@@
class Pman_Core_JsCompile extends Pman
$lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
usort($ofiles, $lsort);
$lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
usort($ofiles, $lsort);
- $eoutput = " -o " . escapeshellarg($output) ;
+ $eoutput = " -
k -
o " . escapeshellarg($output) ;
if ( $translation_base) {
if ( $translation_base) {
- $toutput = " -
k -
t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
+ $toutput = " -t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
" -p " . escapeshellarg($translation_base) ;//." -k "; // this kills the compression.
}
" -p " . escapeshellarg($translation_base) ;//." -k "; // this kills the compression.
}