diff --git a/ChangeLog b/ChangeLog index 27083acb..cda9df8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -186,6 +186,8 @@ thru keys panel (F8). * If git not installed do not show error. Just propose install git and clone from github repo. +* Fixed bug with client.js minifying. + 2012.10.01, Version 0.1.7 diff --git a/config.json b/config.json index a399d97c..3c8d7ff1 100644 --- a/config.json +++ b/config.json @@ -3,10 +3,10 @@ "appcache" : false, "cache" : {"allowed" : false}, "minification" : { - "js" : false, - "css" : false, + "js" : true, + "css" : true, "html" : true, - "img" : false + "img" : true }, "github_key" : "891c251b925e4e967fa9", "github_secret" : "afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545", diff --git a/index.html b/index.html index 021bdf21..85d13d8c 100644 --- a/index.html +++ b/index.html @@ -8,12 +8,6 @@ - - - @@ -44,6 +38,8 @@ diff --git a/lib/server/minify.js b/lib/server/minify.js index 3ef7e2b1..3bcf6ff4 100644 --- a/lib/server/minify.js +++ b/lib/server/minify.js @@ -4,7 +4,8 @@ "use strict"; var main = global.cloudcmd.main, - DIR = main.DIR; + DIR = main.DIR, + LIBDIR = main.LIBDIR; exports.Minify = { /* pathes to directories */ @@ -68,7 +69,7 @@ lStyleCSS = DIR + 'css/style.css', lResetCSS = DIR + 'css/reset.css'; if (this._allowed.js) { - lOptimizeParams.push(DIR + 'client.js'); + lOptimizeParams.push(LIBDIR + 'client.js'); } if (this._allowed.html)