Function Libraries Milti Project

This commit is contained in:
Luis Fernando Molina committed 2020-10-16 18:37:52 +02:00
1 parent 593ae2720b
commit bb6cb2d91a
3 files changed
+111 -45

No files matched your search

+11 -1
View File
@@ -103,7 +103,17 @@ function loadSuperalgos() {
function onRequired(pModule) {
if (INFO_LOG === true) { console.log(spacePad(MODULE_NAME, 50) + " : " + "[INFO] " + path + " downloaded."); }
loadModules();
setUpProjects();
}
}
function setUpProjects() {
let url = 'ProjectNames'
callWebServer(undefined, url, onResponse)
function onResponse(err, projects) {
window.PROJECTS = JSON.parse(projects)
loadModules()
}
}