mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-27 06:31:51 +02:00
12 lines
363 B
JavaScript
12 lines
363 B
JavaScript
async function loadAllData() {
|
|
dic = {
|
|
abs: [],
|
|
fluo: [],
|
|
ZPE: []
|
|
};
|
|
dic.abs = await Promise.all(getAbsFilesName().map((f) => AbsDataFile.loadAsync(f)))
|
|
dic.fluo = await Promise.all(getFluoFilesName().map((f) => FluoDataFile.loadAsync(f)))
|
|
dic.ZPE = await Promise.all(getZPEFilesName().map((f) => ZPEDataFile.loadAsync(f)));
|
|
return dic;
|
|
}
|