move JShrink Minifier to vendor/

master
Andrew Dolgov 7 years ago
parent 2aaefbfa54
commit a9105e2a61

@ -2386,7 +2386,6 @@
} }
function get_minified_js($files) { function get_minified_js($files) {
require_once 'lib/jshrink/Minifier.php';
$rv = ''; $rv = '';

@ -113,8 +113,6 @@
'use strict'; 'use strict';
require({cache:{}}); require({cache:{}});
<?php <?php
require_once 'lib/jshrink/Minifier.php';
print get_minified_js(["tt-rss.js", print get_minified_js(["tt-rss.js",
"functions.js", "feedlist.js", "viewfeed.js", "PluginHost.js"]); "functions.js", "feedlist.js", "viewfeed.js", "PluginHost.js"]);
?> ?>

@ -80,8 +80,6 @@
'use strict'; 'use strict';
require({cache:{}}); require({cache:{}});
<?php <?php
require_once 'lib/jshrink/Minifier.php';
print get_minified_js(["functions.js", "prefs.js"]); print get_minified_js(["functions.js", "prefs.js"]);
?> ?>
</script> </script>

Loading…
Cancel
Save