10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Fix publications page

This commit is contained in:
Mickaël Véril 2020-02-07 10:16:33 +01:00
parent bb475a0ec3
commit ac0c970962
2 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,7 @@ draft: false
<script src="/js/uniq.js"></script>
<script src="/js/getSets.js"></script>
<script src="/js/websiteFile.js"></script>
<script src="/js/numberUtils.js"></script>
{{< getDataFilesName >}}
<script>
window.onload = async function () {

View File

@ -4,8 +4,7 @@ async function loadAllData() {
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)));
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)))
return dic;
}