mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
e166eb9ca8
commit
df2fb884ec
2 changed files with 9 additions and 7 deletions
|
|
@ -23,9 +23,11 @@
|
|||
|
||||
INDEX = HTMLDIR + 'index.html',
|
||||
CONFIG_PATH = JSONDIR + 'config.json',
|
||||
|
||||
CA = DIR + 'ssl/sub.class1.server.ca.pem',
|
||||
KEY = DIR + 'ssl/ssl.key',
|
||||
CERT = DIR + 'ssl/ssl.crt',
|
||||
|
||||
TEMPLATEPATH= HTMLDIR + 'file.html',
|
||||
|
||||
PATHTEMPLATE_PATH = HTMLDIR + 'path.html',
|
||||
|
|
|
|||
|
|
@ -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 = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue