Skip to content

Commit

Permalink
fixed semi,ws,comma warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nopeslide committed Nov 1, 2019
1 parent 67fc261 commit 082cb36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function lane (desc, opt) {
var tx = 4.5;
if (opt.compact) {
ty = (opt.lanes - opt.index - 1) * opt.vspace / 2 + opt.fontsize/2;
tx += 20
tx += 20;
}
var lane = ['g', {
transform: t(tx, ty),
Expand All @@ -216,7 +216,7 @@ function lane (desc, opt) {
'font-weight': opt.fontweight || 'normal'
},
cage(desc, opt),
labelArr(desc, opt),
labelArr(desc, opt)
];
if (opt.compact) {
lane.push(['g', text(opt.index, -10, opt.vspace/2 + 4)]);
Expand Down Expand Up @@ -266,7 +266,7 @@ function render (desc, opt) {
res.push(lane(desc, opt));
}
if (opt.compact) {
res.push(compactLabels(desc,opt));
res.push(compactLabels(desc, opt));
}
return res;
}
Expand Down

0 comments on commit 082cb36

Please sign in to comment.