From 9e11a202369db64ee2fc7ec9283e03a1ded65435 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 11 Dec 2012 10:59:36 -0500 Subject: [PATCH] minor changes --- cloudcmd.js | 10 +++++----- config.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index e0a36212..596e188a 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -49,16 +49,16 @@ lReplace_s = ''; - lData = Util.removeStr(lData, lReplace_s); - lData = lData.replace('/css/style.css', lPath + 'all.min.css'); + lData = Util.removeStr(lData, lReplace_s) + .replace('/css/style.css', lPath + 'all.min.css'); } lReplace_s = '
'; - lData = lData.replace(lReplace_s, lReplace_s + lAdditional); /* меняем title */ - lData = lData.replace('Cloud Commander', - '' + CloudFunc.getTitle() + ''); + lData = lData.replace(lReplace_s, lReplace_s + lAdditional) + .replace('Cloud Commander', + '' + CloudFunc.getTitle() + ''); if(!srv.Config.appcache) lData = Util.removeStr(lData, ' manifest="/cloudcmd.appcache"'); diff --git a/config.json b/config.json index f21f6665..3c8d7ff1 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "appcache" : false, "cache" : {"allowed" : false}, "minification" : { - "js" : false, + "js" : true, "css" : true, "html" : true, "img" : true