summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-28 22:51:43 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-28 22:51:43 +0200
commitd40867d8551b3ce9630a107617df64780f744e43 (patch)
treed000680f21ba14f11cc4745eb750ab842f912dd3
parent7fa9f29d7f92ce6e7cab252781a2693e98edc32b (diff)
downloadnextcloud-server-d40867d8551b3ce9630a107617df64780f744e43.tar.gz
nextcloud-server-d40867d8551b3ce9630a107617df64780f744e43.zip
Suer JSqueezeFilter instead of JSMinFilter
-rw-r--r--lib/private/templatelayout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php
index ae3c1093b20..30f75761d05 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -38,7 +38,7 @@ use Assetic\AssetWriter;
use Assetic\Filter\CssImportFilter;
use Assetic\Filter\CssMinFilter;
use Assetic\Filter\CssRewriteFilter;
-use Assetic\Filter\JSMinFilter;
+use Assetic\Filter\JSqueezeFilter;
use OC\Assetic\SeparatorFilter; // waiting on upstream
/**
@@ -225,7 +225,7 @@ class OC_TemplateLayout extends OC_Template {
), $root, $file);
}
return new FileAsset($root . '/' . $file, array(
- new JSMinFilter(),
+ new JSqueezeFilter(),
new SeparatorFilter(';')
), $root, $file);
}, $jsFiles);