mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-15 02:04:08 +01:00
#1676 Lint fix
This commit is contained in:
@@ -29,7 +29,6 @@ export const addVertices = function(vert, g, svgId) {
|
|||||||
const keys = Object.keys(vert);
|
const keys = Object.keys(vert);
|
||||||
|
|
||||||
// Iterate through each item in the vertex object (containing all the vertices found) in the graph definition
|
// Iterate through each item in the vertex object (containing all the vertices found) in the graph definition
|
||||||
let cnt = 0;
|
|
||||||
keys.forEach(function(id) {
|
keys.forEach(function(id) {
|
||||||
const vertex = vert[id];
|
const vertex = vert[id];
|
||||||
|
|
||||||
@@ -166,7 +165,6 @@ export const addVertices = function(vert, g, svgId) {
|
|||||||
type: vertex.type,
|
type: vertex.type,
|
||||||
padding: getConfig().flowchart.padding
|
padding: getConfig().flowchart.padding
|
||||||
});
|
});
|
||||||
cnt++;
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user