mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
Update of prettier, eslint and rules
This commit is contained in:
@@ -6,7 +6,7 @@ import { log } from '../logger';
|
||||
|
||||
// Only add the number of markers that the diagram needs
|
||||
const insertMarkers = (elem, markerArray, type, id) => {
|
||||
markerArray.forEach(markerName => {
|
||||
markerArray.forEach((markerName) => {
|
||||
markers[markerName](elem, type, id);
|
||||
});
|
||||
};
|
||||
@@ -255,6 +255,6 @@ const markers = {
|
||||
point,
|
||||
circle,
|
||||
cross,
|
||||
barb
|
||||
barb,
|
||||
};
|
||||
export default insertMarkers;
|
||||
|
Reference in New Issue
Block a user