minor changes

This commit is contained in:
coderaiser 2013-02-05 04:07:40 -05:00
parent 5f2f5f228d
commit de2d1bc31b

View file

@ -382,8 +382,8 @@
if(pReq){
lPath = getPath(pReq);
lNoJS = Util.isContainStr(lPath, CloudFunc.NoJS)
|| lPath === '/' || getQuery() !== 'json';
lNoJS = Util.isContainStr(lPath, NO_JS)
|| lPath === '/' || getQuery() == 'json';
}
return lNoJS;