minor changes

This commit is contained in:
coderaiser 2013-02-04 08:00:38 -05:00
parent 7642d4f8dd
commit ecc7da55ba

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;