MDL-36457 remove GPL incompatible JSMin.php

Credit goes to Hubert Chathi, thanks!
This commit is contained in:
Petr Škoda 2012-11-08 19:57:36 +01:00
parent 8ccaa296fa
commit 4549385e04
4 changed files with 5 additions and 385 deletions

View file

@ -114,6 +114,8 @@ function js_minify($files) {
Minify::setCache(null, false);
$options = array(
// JSMin is not GNU GPL compatible, use the plus version instead.
'minifiers' => array(Minify::TYPE_JS => array('JSMinPlus', 'minify')),
'bubbleCssImports' => false,
// Don't gzip content we just want text for storage
'encodeOutput' => false,