minor changes

This commit is contained in:
coderaiser 2013-02-24 09:32:42 -05:00
parent e76fc8a496
commit 14f92cc116

View file

@ -15,8 +15,6 @@
var main = global.cloudcmd.main,
Util = main.util,
CloudFunc = main.cloudfunc,
OK = 200,
Header = main.generateHeaders({
name:'api.json'
@ -84,7 +82,7 @@
lCmd = pParams.command,
lMethod = pParams.method;
if( Util.isContainStr(lCmd, CloudFunc.FS) )
if( Util.isContainStr(lCmd, 'fs') )
lResult = onFS({
request : pParams.request,
response: pParams.response,
@ -114,7 +112,7 @@
function onFS(pParams){
var lResult,
lMethod = pParams.method,
lName = Util.removeStr(pParams.name, CloudFunc.FS);
lName = Util.removeStr(pParams.name, 'fs');
switch(lMethod){
case 'GET':