mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 02:09:50 +02:00
#1295 Linting
This commit is contained in:
@@ -161,7 +161,6 @@ const divider = (parent, node) => {
|
|||||||
|
|
||||||
// Create the label and insert it after the rect
|
// Create the label and insert it after the rect
|
||||||
const label = shapeSvg.insert('g').attr('class', 'cluster-label');
|
const label = shapeSvg.insert('g').attr('class', 'cluster-label');
|
||||||
const innerRect = shapeSvg.append('rect');
|
|
||||||
|
|
||||||
const text = label.node().appendChild(createLabel(node.labelText, node.labelStyle));
|
const text = label.node().appendChild(createLabel(node.labelText, node.labelStyle));
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
* Setup arrow head and define the marker. The result is appended to the svg.
|
* Setup arrow head and define the marker. The result is appended to the svg.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { logger } from '../logger';
|
// import { logger } from '../logger';
|
||||||
|
|
||||||
// Only add the number of markers that the diagram needs
|
// Only add the number of markers that the diagram needs
|
||||||
const insertPatterns = (elem, patternArray, type, id) => {
|
const insertPatterns = (elem, patternArray, type, id) => {
|
||||||
|
Reference in New Issue
Block a user