[DE] debug
This commit is contained in:
parent
74aa97c8f6
commit
477f3f58d8
|
@ -169,6 +169,9 @@ Common.Locale = new(function() {
|
||||||
}).then(function(json) {
|
}).then(function(json) {
|
||||||
if ( !!json ) l10n = json;
|
if ( !!json ) l10n = json;
|
||||||
}).catch(function(e) {
|
}).catch(function(e) {
|
||||||
|
if ( e.message == 'loaded' ) {
|
||||||
|
|
||||||
|
} else
|
||||||
console.log('fetch error: ' + e);
|
console.log('fetch error: ' + e);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -2083,6 +2083,18 @@ define([
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**/
|
||||||
|
Promise.all(pluginsData.map(url => {
|
||||||
|
return fetch(url)
|
||||||
|
.then(response => response.json());
|
||||||
|
// .then(json => json);
|
||||||
|
})).then( values => {
|
||||||
|
console.log('plugins: ' + values);
|
||||||
|
}).catch(e => {
|
||||||
|
console.log('error: ' + e.message);
|
||||||
|
});
|
||||||
|
/**/
|
||||||
|
|
||||||
if (arr.length>0) {
|
if (arr.length>0) {
|
||||||
var autostart = plugins.autostart || plugins.autoStartGuid;
|
var autostart = plugins.autostart || plugins.autoStartGuid;
|
||||||
if (typeof (autostart) == 'string')
|
if (typeof (autostart) == 'string')
|
||||||
|
|
Loading…
Reference in a new issue