Fix lint issues

This commit is contained in:
Gijs van Dam
2019-02-01 12:41:03 +08:00
parent 48f8c3f85a
commit 5565d36ef2

View File

@@ -98,7 +98,7 @@ export const draw = function (text, id) {
}
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')
.selectAll('rect')
.data(theArray)
@@ -121,7 +121,7 @@ export const draw = function (text, id) {
return 'section section0'
})
//draw the rects representing the tasks
// Draw the rects representing the tasks
const rectangles = svg.append('g')
.selectAll('rect')
.data(theArray)