mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Fix for broken gitGraph for Mermaid Live Editor
This commit is contained in:
parent
473aced449
commit
8966639e65
@ -80,9 +80,9 @@ function parse(text) {
|
||||
log.debug('Type ' + graphType);
|
||||
switch (graphType) {
|
||||
case 'gitGraph':
|
||||
gitGraphAst.clear();
|
||||
parser = gitGraphParser;
|
||||
parser.parser.yy = gitGraphAst;
|
||||
parser.parser.yy.clear();
|
||||
break;
|
||||
case 'flowchart':
|
||||
flowDb.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user