Skip to content

Commit 4fb0b19

Browse files
committed
Make eslint happy
1 parent e07201a commit 4fb0b19

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/plots/gl2d/scene2d.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ proto.toImage = function(format) {
167167
this.stopped = true;
168168
if(this.staticPlot) this.container.appendChild(STATIC_CANVAS);
169169

170-
//update canvas size
170+
// update canvas size
171171
this.updateSize(this.canvas);
172172

173173
// force redraw
@@ -223,7 +223,7 @@ proto.toImage = function(format) {
223223
};
224224

225225
proto.updateSize = function(canvas) {
226-
if (!canvas) canvas = this.canvas;
226+
if(!canvas) canvas = this.canvas;
227227

228228
var pixelRatio = this.pixelRatio,
229229
fullLayout = this.fullLayout;
@@ -240,7 +240,7 @@ proto.updateSize = function(canvas) {
240240
}
241241

242242
return canvas;
243-
}
243+
};
244244

245245
proto.computeTickMarks = function() {
246246
this.xaxis._length =
@@ -358,8 +358,7 @@ proto.destroy = function() {
358358
};
359359

360360
proto.plot = function(fullData, calcData, fullLayout) {
361-
var glplot = this.glplot,
362-
pixelRatio = this.pixelRatio;
361+
var glplot = this.glplot;
363362

364363
this.fullLayout = fullLayout;
365364
this.updateAxes(fullLayout);

0 commit comments

Comments
 (0)