Grabbing configs and js files from the file system eliminated
This commit is contained in:
1 parent
ae97126b32
commit
587883561e
3 files changed
+4
-10
No files matched your search
@@ -13,16 +13,14 @@
|
||||
|
||||
let serverConfig;
|
||||
let storageData;
|
||||
let fileSystemData;
|
||||
let ecosystem;
|
||||
let ecosystemObject;
|
||||
|
||||
return thisObject;
|
||||
|
||||
function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, pFileSystemData, callBackFunction) {
|
||||
function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, callBackFunction) {
|
||||
|
||||
serverConfig = pServerConfig;
|
||||
fileSystemData = pFileSystemData;
|
||||
storageData = pStorageData;
|
||||
ecosystem = pEcosystem;
|
||||
ecosystemObject = pEcosystemObject;
|
||||
|
||||
@@ -13,16 +13,14 @@
|
||||
|
||||
let serverConfig;
|
||||
let storageData;
|
||||
let fileSystemData;
|
||||
let ecosystem;
|
||||
let ecosystemObject;
|
||||
|
||||
return thisObject;
|
||||
|
||||
function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, pFileSystemData, callBackFunction) {
|
||||
function initialize(pEcosystem, pEcosystemObject, pServerConfig, pStorageData, callBackFunction) {
|
||||
|
||||
serverConfig = pServerConfig;
|
||||
fileSystemData = pFileSystemData;
|
||||
storageData = pStorageData;
|
||||
ecosystem = pEcosystem;
|
||||
ecosystemObject = pEcosystemObject;
|
||||
|
||||
@@ -33,7 +33,6 @@ global.CUSTOM_FAIL_RESPONSE = {
|
||||
};
|
||||
|
||||
let storageData = new Map;
|
||||
let fileSystemData = new Map;
|
||||
|
||||
let HTMLCloudScripts; // This are the html script tags needed to download the cloud web scripts.
|
||||
|
||||
@@ -58,7 +57,6 @@ function initialize() {
|
||||
/* Clear all cached information. */
|
||||
|
||||
storageData = new Map;
|
||||
fileSystemData = new Map;
|
||||
|
||||
const CONFIG_READER = require('./Server/ConfigReader');
|
||||
let configReader = CONFIG_READER.newConfigReader();
|
||||
@@ -81,7 +79,7 @@ function initialize() {
|
||||
const CLOUD_SCRIPTS = require('./Server/CloudScripts');
|
||||
let cloudScripts = CLOUD_SCRIPTS.newCloudScripts();
|
||||
|
||||
cloudScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, fileSystemData, onInitialized);
|
||||
cloudScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, onInitialized);
|
||||
|
||||
function onInitialized() {
|
||||
|
||||
@@ -99,7 +97,7 @@ function initialize() {
|
||||
const BOT_SCRIPTS = require('./Server/BotsScripts');
|
||||
let botScripts = BOT_SCRIPTS.newBotScripts();
|
||||
|
||||
botScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, fileSystemData, onInitialized);
|
||||
botScripts.initialize(ecosystem, ecosystemObject, serverConfig, storageData, onInitialized);
|
||||
|
||||
function onInitialized() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user