From bf4f0a1f9eb14497c5fde5acc13842d4af175171 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 8 Mar 2012 01:12:06 -0800 Subject: [PATCH] Replace JSMin by JsShrink --- .gitmodules | 6 +++--- adminer/file.inc.php | 2 +- changes.txt | 1 + compile.php | 18 ++++-------------- externals/JsShrink | 1 + externals/jsmin-php | 1 - 6 files changed, 10 insertions(+), 19 deletions(-) create mode 160000 externals/JsShrink delete mode 160000 externals/jsmin-php diff --git a/.gitmodules b/.gitmodules index afa3554f..9b4770cb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,6 @@ [submodule "jush"] path = externals/jush url = git://jush.git.sourceforge.net/gitroot/jush/jush -[submodule "jsmin-php"] - path = externals/jsmin-php - url = git://github.com/rgrove/jsmin-php.git [submodule "tinymce"] path = externals/tinymce url = git://github.com/tinymce/tinymce.git @@ -16,3 +13,6 @@ [submodule "wymeditor"] path = externals/wymeditor url = git://github.com/wymeditor/wymeditor.git +[submodule "JsShrink"] + path = externals/JsShrink + url = git://github.com/vrana/JsShrink.git diff --git a/adminer/file.inc.php b/adminer/file.inc.php index c89feb46..202c0c9c 100644 --- a/adminer/file.inc.php +++ b/adminer/file.inc.php @@ -9,7 +9,7 @@ if ($_GET["file"] == "favicon.ico") { ?>compile_file('../adminer/static/default.css', 'minify_css');compile_file('../adminer/static/functions.js', 'JSMin::minify');compile_file('static/editing.js', 'JSMin::minify');compile_file('../adminer/static/functions.js', 'jsShrink');compile_file('static/editing.js', 'jsShrink');