mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Fix lint issues
This commit is contained in:
@@ -98,7 +98,7 @@ export const draw = function (text, id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function drawRects (theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w, h) {
|
function drawRects (theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w, h) {
|
||||||
//draw background rects covering the entire width of the graph, these form the section rows.
|
// Draw background rects covering the entire width of the graph, these form the section rows.
|
||||||
svg.append('g')
|
svg.append('g')
|
||||||
.selectAll('rect')
|
.selectAll('rect')
|
||||||
.data(theArray)
|
.data(theArray)
|
||||||
@@ -121,7 +121,7 @@ export const draw = function (text, id) {
|
|||||||
return 'section section0'
|
return 'section section0'
|
||||||
})
|
})
|
||||||
|
|
||||||
//draw the rects representing the tasks
|
// Draw the rects representing the tasks
|
||||||
const rectangles = svg.append('g')
|
const rectangles = svg.append('g')
|
||||||
.selectAll('rect')
|
.selectAll('rect')
|
||||||
.data(theArray)
|
.data(theArray)
|
||||||
|
Reference in New Issue
Block a user