fix(id-generator): re-write generator to allow it to function properly after compiling in cli

This commit is contained in:
Ahmad Nassri
2021-04-12 15:56:17 -04:00
parent 1b3971d6da
commit 84f664de14
3 changed files with 16 additions and 14 deletions

View File

@@ -78,7 +78,7 @@ const init = function() {
mermaidAPI.updateSiteConfig({ gantt: mermaid.ganttConfig });
}
const idGeneratior = utils.initIdGeneratior(conf.deterministicIds, conf.deterministicIDSeed);
const idGeneratior = new utils.initIdGeneratior(conf.deterministicIds, conf.deterministicIDSeed);
let txt;