mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
returned_app called 2 times
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user