From a9105e2a619c499509c27ac263b306e86ef247b5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Jun 2018 15:04:59 +0300 Subject: [PATCH] move JShrink Minifier to vendor/ --- include/functions.php | 1 - index.php | 2 -- prefs.php | 2 -- {lib/jshrink => vendor/JShrink}/LICENSE | 0 {lib/jshrink => vendor/JShrink}/Minifier.php | 0 {lib/jshrink => vendor/JShrink}/README.md | 0 6 files changed, 5 deletions(-) rename {lib/jshrink => vendor/JShrink}/LICENSE (100%) rename {lib/jshrink => vendor/JShrink}/Minifier.php (100%) rename {lib/jshrink => vendor/JShrink}/README.md (100%) diff --git a/include/functions.php b/include/functions.php index a6dbd43a8..7ebbe38b3 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2386,7 +2386,6 @@ } function get_minified_js($files) { - require_once 'lib/jshrink/Minifier.php'; $rv = ''; diff --git a/index.php b/index.php index fb24066fd..cba52284b 100644 --- a/index.php +++ b/index.php @@ -113,8 +113,6 @@ 'use strict'; require({cache:{}}); diff --git a/prefs.php b/prefs.php index 89e5f4c2a..2b1270f10 100644 --- a/prefs.php +++ b/prefs.php @@ -80,8 +80,6 @@ 'use strict'; require({cache:{}}); diff --git a/lib/jshrink/LICENSE b/vendor/JShrink/LICENSE similarity index 100% rename from lib/jshrink/LICENSE rename to vendor/JShrink/LICENSE diff --git a/lib/jshrink/Minifier.php b/vendor/JShrink/Minifier.php similarity index 100% rename from lib/jshrink/Minifier.php rename to vendor/JShrink/Minifier.php diff --git a/lib/jshrink/README.md b/vendor/JShrink/README.md similarity index 100% rename from lib/jshrink/README.md rename to vendor/JShrink/README.md