mirror of
/repos/Prototyper.git
synced 2025-12-30 06:31:32 +01:00
returned_app called 2 times
This commit is contained in:
parent
1bd5c1c588
commit
a37d7b7f31
@ -498,10 +498,12 @@ var app = {
|
||||
vm: {}
|
||||
};
|
||||
|
||||
loadConfig(app, config_location, app.vm, function (err, app) {
|
||||
loadConfig(app, config_location, app.vm, function (err, returned_app) {
|
||||
if (err) {
|
||||
console.log('Error loading config', err);
|
||||
}
|
||||
// TODO: callback called twice, first time returned app is null
|
||||
console.log('returned app', returned_app);
|
||||
//initializeViewModels(app, viewModels);
|
||||
app.state['running'] = true;
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user