mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-08 13:34:33 +01:00
Refactor by renaming
This commit is contained in:
@@ -42,7 +42,7 @@ export const detectType = function (text) {
|
||||
if (text.match(/^\s*gitGraph/)) {
|
||||
return 'gitGraph'
|
||||
}
|
||||
return 'graph'
|
||||
return 'flowchart'
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user