Events module integration

This commit is contained in:
Unknown committed 2019-02-28 14:55:27 +01:00
1 parent 722ea547b7
commit 0b5101b387
2 files changed
+13 -6

No files matched your search

+8 -4
View File
@@ -1,4 +1,4 @@
function newEcosystem() {
let thisObject = {
@@ -13,10 +13,11 @@ function newEcosystem() {
getPlotter: getPlotter,
getPlotterModule: getPlotterModule,
getStoragePermissions: getStoragePermissions,
setEvent: setEvent,
initialize: initialize
}
const ECOSYSTEM = "@ecosystem.json@";
let ECOSYSTEM = "@ecosystem.json@";
return thisObject;
@@ -25,6 +26,10 @@ function newEcosystem() {
}
function setEvent(input) {
ECOSYSTEM.hosts = input;
}
function getStoragePermissions() {
return ECOSYSTEM.STORAGE_PERMISSIONS;
@@ -140,4 +145,3 @@ function newEcosystem() {
return false;
}
+5 -2
View File
@@ -1,4 +1,6 @@
function newAppLoader() {
let dashboard;
function newAppLoader() {
const MODULE_NAME = "App Loader";
const INFO_LOG = false;
@@ -36,6 +38,7 @@
"BottomSpace/PlayStopButton.js",
"TopSpace/CompanyLogo.js",
"TopSpace/CurrentEvent.js",
"TopSpace/CurrentStartMode.js",
"TopSpace/CurrentProcess.js",
"TopSpace/CurrentBot.js",
@@ -140,7 +143,7 @@
if (INFO_LOG === true) { logger.write("[INFO] loadModules -> onRequired -> Starting Advanced Algos Platform."); }
let dashboard = newDashboard();
dashboard = newDashboard();
dashboard.start();
}