Updated API

This commit is contained in:
Russell Geraghty
2020-04-04 17:50:02 +01:00
parent f081527731
commit e4a2d7dfb7
5 changed files with 134 additions and 84 deletions

View File

@@ -59,6 +59,10 @@ export const detectType = function(text) {
return 'er';
}
if (text.match(/^\s*journey/)) {
return 'journey';
}
return 'flowchart';
};