mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-10 02:49:40 +02:00
Code style fix
This commit is contained in:
@@ -7,7 +7,7 @@ const splitClassNameAndType = function(id) {
|
|||||||
let genericType = '';
|
let genericType = '';
|
||||||
let className = id;
|
let className = id;
|
||||||
|
|
||||||
if(id.indexOf('~') > 0) {
|
if (id.indexOf('~') > 0) {
|
||||||
let split = id.split('~');
|
let split = id.split('~');
|
||||||
className = split[0];
|
className = split[0];
|
||||||
genericType = split[1];
|
genericType = split[1];
|
||||||
|
Reference in New Issue
Block a user