Skip to content

Commit 07ea384

Browse files
committed
Lintify
1 parent 348e170 commit 07ea384

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plots/cartesian/dragbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
715715
// FIXME: code duplication with cartesian.plot
716716
if(fullLayout._glcanvas && fullLayout._glcanvas.size()) {
717717
fullLayout._glcanvas.each(function(d) {
718-
if (d.regl) {
718+
if(d.regl) {
719719
d.regl.clear({
720720
color: true
721721
});

src/plots/cartesian/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports.plot = function(gd, traces, transitionOpts, makeOnCompleteCallback) {
5151
// clear gl frame, if any, since we preserve drawing buffer
5252
if(fullLayout._glcanvas && fullLayout._glcanvas.size()) {
5353
fullLayout._glcanvas.each(function(d) {
54-
if (d.regl) {
54+
if(d.regl) {
5555
d.regl.clear({
5656
color: true
5757
});

0 commit comments

Comments
 (0)