10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-05 13:43:56 +01:00
QUESTDB_website/static/js/loadAllData.js

10 lines
329 B
JavaScript
Raw Normal View History

2019-09-26 09:32:03 +02:00
async function loadAllData() {
dic = {
abs: [],
fluo: [],
};
2020-02-07 10:16:33 +01:00
dic.abs = await Promise.all(getAbsFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion)))
dic.fluo = await Promise.all(getFluoFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence)))
2019-09-26 09:32:03 +02:00
return dic;
}