Fix for failing yarn dev on Standard syntax check for mermaidAPI.js

This commit is contained in:
Ashish Jain
2019-08-14 18:33:10 +02:00
parent 8f0a7f56e2
commit ca97ac11e1

View File

@@ -497,13 +497,13 @@ const render = function (id, txt, cb, container) {
svgCode = decodeEntities(svgCode)
if (typeof cb !== 'undefined') {
switch(graphType) {
switch (graphType) {
case 'flowchart':
cb(svgCode, flowDb.bindFunctions)
break;
break
case 'gantt':
cb(svgCode, ganttDb.bindFunctions)
break;
break
default:
}
} else {