WebApp Loading all modules declared at Project Schema
This commit is contained in:
1 parent
ecc7b7d7b6
commit
373f0307d8
7 files changed
+82
-33
No files matched your search
@@ -9,8 +9,18 @@ function newAppPostLoader() {
|
||||
|
||||
function start() {
|
||||
try {
|
||||
webApp = newWebApp()
|
||||
webApp.initialize()
|
||||
|
||||
setupProjectsSchema()
|
||||
|
||||
function setupProjectsSchema() {
|
||||
httpRequest(undefined, 'ProjectsSchema', onResponse)
|
||||
|
||||
function onResponse(err, file) {
|
||||
PROJECTS_SCHEMA = JSON.parse(file)
|
||||
webApp = newWebApp()
|
||||
webApp.initialize()
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('[ERROR] err.stack = ' + err.stack)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user