FJKLSALKAS

This commit is contained in:
nelsonlaquet 2013-09-01 03:52:05 -05:00
parent 34aaa881d8
commit f1d61e93e4

View file

@ -25,7 +25,7 @@
if (!isset($_GET['file']) || !Config::get('app.debug')) {
$bundle = Assets::scriptAssetCollection($_GET['area']);
$bundle->ensureFilter(new UglifyJs2Filter(Config::get('app.uglify-js')));
$bundle->ensureFilter(new UglifyJs2Filter(Config::get('app.uglify-js'), Config::get('app.node')));
$bundle->setTargetPath('scripts');
} else {
$filePath = trim($_GET['file'], '/');
@ -39,7 +39,7 @@
if (!isset($_GET['file']) || !Config::get('app.debug')) {
$bundle = Assets::styleAssetCollection($_GET['area']);
$bundle->ensureFilter(new UglifyCssFilter(Config::get('app.uglify-css')));
$bundle->ensureFilter(new UglifyCssFilter(Config::get('app.uglify-css'), Config::get('app.node')));
$bundle->setTargetPath('styles');
} else {
$filePath = trim($_GET['file'], '/');