Browse Source

move JShrink Minifier to vendor/

Andrew Dolgov 1 year ago
parent
commit
a9105e2a61
6 changed files with 0 additions and 5 deletions
  1. 0 1
      include/functions.php
  2. 0 2
      index.php
  3. 0 2
      prefs.php
  4. 0 0
      vendor/JShrink/LICENSE
  5. 0 0
      vendor/JShrink/Minifier.php
  6. 0 0
      vendor/JShrink/README.md

+ 0 - 1
include/functions.php

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

+ 0 - 2
index.php

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

+ 0 - 2
prefs.php

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

lib/jshrink/LICENSE → vendor/JShrink/LICENSE


lib/jshrink/Minifier.php → vendor/JShrink/Minifier.php


lib/jshrink/README.md → vendor/JShrink/README.md