diff --git a/cloudcmd.js b/cloudcmd.js index 6377519e..0fc3a80e 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -85,9 +85,12 @@ lFONT_LOCAL = './font/DroidSansMono.woff', lJQUERY_REMOTE = '//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js', lJQUERY_LOCAL = './lib/client/jquery.js', - lFiles = [ - { lFONT_REMOTE : lFONT_LOCAL }, - { lJQUERY_REMOTE : lJQUERY_LOCAL }]; + lFiles = []; + + lFiles[0] = {}; + lFiles[0][lFONT_REMOTE] = lFONT_LOCAL; + lFiles[1] = {}; + lFiles[1][lJQUERY_REMOTE] = lJQUERY_LOCAL; if(Config.minification.css) lFiles.push('node_modules/minify/min/all.min.css'); diff --git a/lib/server/rest.js b/lib/server/rest.js index 92020321..99e43218 100644 --- a/lib/server/rest.js +++ b/lib/server/rest.js @@ -169,10 +169,7 @@ log = Util.retExec(Util.log), lAssync = 0; - console.log(n); - function stat(pStat){ - console.log(pStat); var lRet = Util.checkObjTrue(pStat, 'params') && Util.checkObjTrue(pStat.params, 'name');