10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 21:24:00 +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/uniq.js"></script>
<script src="/js/getSets.js"></script> <script src="/js/getSets.js"></script>
<script src="/js/websiteFile.js"></script> <script src="/js/websiteFile.js"></script>
<script src="/js/numberUtils.js"></script>
{{< getDataFilesName >}} {{< getDataFilesName >}}
<script> <script>
window.onload = async function () { window.onload = async function () {

View File

@ -4,8 +4,7 @@ async function loadAllData() {
fluo: [], fluo: [],
ZPE: [] ZPE: []
}; };
dic.abs = await Promise.all(getAbsFilesName().map((f) => AbsDataFile.loadAsync(f))) dic.abs = await Promise.all(getAbsFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion)))
dic.fluo = await Promise.all(getFluoFilesName().map((f) => FluoDataFile.loadAsync(f))) dic.fluo = await Promise.all(getFluoFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence)))
dic.ZPE = await Promise.all(getZPEFilesName().map((f) => ZPEDataFile.loadAsync(f)));
return dic; return dic;
} }