chore(rest) add " "

This commit is contained in:
coderaiser 2013-08-19 15:04:57 +00:00
parent 09bff30c55
commit 96eb7068fc

View file

@ -104,7 +104,7 @@
switch (p.request.method) {
case 'GET':
if( Util.strCmp(lQuery, 'size') )
if (Util.strCmp(lQuery, 'size'))
dir.getSize(p.name, function(pErr, pSize) {
if (!pErr){
lSize = CloudFunc.getShortSize(pSize);
@ -145,7 +145,6 @@
});
else {
if (lQuery === 'zip') {
lZip = true;
lName = p.name + '.zip';
@ -246,7 +245,7 @@
*/
function onGET(pParams) {
var lRet = main.checkParams(pParams);
if(lRet){
if (lRet) {
var p = pParams,
lCmd = p.command;
@ -351,6 +350,7 @@
else
main.sendError(pParams, p.data);
break;
default:
send(pParams);
break;