mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
fixing formatting for lint
This commit is contained in:
@@ -363,7 +363,7 @@ export const draw = function (text, id) {
|
|||||||
// const lastMsg
|
// const lastMsg
|
||||||
|
|
||||||
// Draw the messages/signals
|
// Draw the messages/signals
|
||||||
let sequenceIndex = 1;
|
let sequenceIndex = 1
|
||||||
messages.forEach(function (msg) {
|
messages.forEach(function (msg) {
|
||||||
let loopData
|
let loopData
|
||||||
switch (msg.type) {
|
switch (msg.type) {
|
||||||
@@ -467,11 +467,11 @@ export const draw = function (text, id) {
|
|||||||
}
|
}
|
||||||
// Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)
|
// Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)
|
||||||
if ([
|
if ([
|
||||||
parser.yy.LINETYPE.SOLID_OPEN,
|
parser.yy.LINETYPE.SOLID_OPEN,
|
||||||
parser.yy.LINETYPE.DOTTED_OPEN,
|
parser.yy.LINETYPE.DOTTED_OPEN,
|
||||||
parser.yy.LINETYPE.SOLID,
|
parser.yy.LINETYPE.SOLID,
|
||||||
parser.yy.LINETYPE.DOTTED,
|
parser.yy.LINETYPE.DOTTED,
|
||||||
parser.yy.LINETYPE.SOLID_CROSS,
|
parser.yy.LINETYPE.SOLID_CROSS,
|
||||||
parser.yy.LINETYPE.DOTTED_CROSS
|
parser.yy.LINETYPE.DOTTED_CROSS
|
||||||
].includes(msg.type)) {
|
].includes(msg.type)) {
|
||||||
sequenceIndex++
|
sequenceIndex++
|
||||||
|
Reference in New Issue
Block a user