minor changes

This commit is contained in:
coderaiser 2013-02-04 08:00:38 -05:00
parent af17e70499
commit 76d62958d1

View file

@ -325,7 +325,7 @@
}
}
function getQuery(pReq){
function getQuery(pReq){
var lQuery, lParsedUrl;
if(pReq){
@ -379,7 +379,7 @@
lPath = getPath(pReq);
lNoJS = Util.isContainStr(lPath, CloudFunc.NoJS)
&& lPath === '/' && getQuery() !== 'json';
|| lPath === '/' || getQuery() !== 'json';
}
return lNoJS;