From 86641207e1ae018980ccd563a9f0f60557166777 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 6 Feb 2013 10:40:54 -0500 Subject: [PATCH] minor changes --- cloudcmd.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index 888b798f..7277e7ee 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -23,8 +23,7 @@ REQUEST = 'request', RESPONSE = 'response', INDEX = HTMLDIR + 'index.html', - FS = CloudFunc.FS, - NO_JS = CloudFunc.NO_JS; + FS = CloudFunc.FS; /* reinit main dir os if we on * Win32 should be backslashes */ @@ -190,7 +189,7 @@ pParams.name = main.HTMLDIR + lName + '.html'; lRet = main.sendFile(pParams); } - else if( Util.isContainStr(lName, [FS, NO_JS]) || + else if( Util.isContainStr(lName, FS) || Util.strCmp( lName, ['/', 'json']) ){ lRet = main.commander.sendContent({