minor changes

This commit is contained in:
coderaiser 2013-03-18 10:08:53 -04:00
parent e166eb9ca8
commit df2fb884ec
2 changed files with 9 additions and 7 deletions

View file

@ -9,17 +9,17 @@ var CloudFunc, exports, Util;
*/
var FS;
if(exports){
CloudFunc = exports;
if(!global.cloudcmd)
return console.log(
'# cloudfunc.js' + '\n' +
'# -----------' + '\n' +
'# Module is part of Cloud Commander,' + '\n' +
'# used for generate html from json.' + '\n' +
'# ' + '\n' +
'# http://coderaiser.github.com/cloudcmd' + '\n');
'# cloudfunc.js' + '\n' +
'# -----------' + '\n' +
'# Module is part of Cloud Commander,' + '\n' +
'# used for generate html from json.' + '\n' +
'# ' + '\n' +
'# http://coderaiser.github.com/cloudcmd' + '\n');
Util = global.cloudcmd.main.util;
CloudFunc = exports;
}
else
CloudFunc = {};