From 16f6bd71a86be3599c5fe192c26a1ac2bfc371a5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 5 Feb 2013 03:56:03 -0500 Subject: [PATCH] minor changes --- cloudcmd.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index e1d373a5..2bf47a7d 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -199,15 +199,17 @@ main.sendFile(pParams); lRet = true; - }else if( Util.isContainStr(lName, [CloudFunc.Fs, CloudFunc.NoJS] ) || - Util.strCmp(lName, '/') || - Util.strCmp(lName, 'json') ) { - lRet = main.commander.sendContent({ - request : pParams[REQUEST], - response : pParams[RESPONSE], - processing : indexProcessing, - index : Minify.allowed.html ? Minify.getName(INDEX) : INDEX - }); + }else if( Util.isContainStr(lName, CloudFunc.FS) || + Util.isContainStr(lName, CloudFunc.NO_JS ) || + Util.strCmp(lName, '/') || + Util.strCmp(lName, 'json') ){ + + lRet = main.commander.sendContent({ + request : pParams[REQUEST], + response : pParams[RESPONSE], + processing : indexProcessing, + index : Minify.allowed.html ? Minify.getName(INDEX) : INDEX + }); } return lRet;