So much refactoring...

This commit is contained in:
Joshua Sherman 2013-12-30 00:38:13 -05:00
parent 03e613d380
commit 54471c361b
9 changed files with 562 additions and 707 deletions

View file

@ -265,7 +265,9 @@ class Dynamic extends Object
&& extension_loaded('curl')
&& $this->config->pickles['minify'] === true)
{
exec('java -jar ' . PICKLES_PATH . 'vendors/google/closure-compiler/compiler.jar --js=' . $original_filename . ' --compilation_level=' . ($level . '_' . ($level == 'WHITESPACE' ? 'ONLY' : 'OPTIMIZATIONS')) . ' --js_output_file=' . $minified_filename);
$config = Config::getInstance();
exec('java -jar ' . $config->pickles['path'] . 'vendors/google/closure-compiler/compiler.jar --js=' . $original_filename . ' --compilation_level=' . ($level . '_' . ($level == 'WHITESPACE' ? 'ONLY' : 'OPTIMIZATIONS')) . ' --js_output_file=' . $minified_filename);
$reference = $minified_reference;
}