Skip to content

Commit d16199c

Browse files
committed
lint
1 parent 78d8a49 commit d16199c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/plot_api/plot_api.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -659,13 +659,11 @@ function cleanAxRef(container, attr) {
659659
}
660660
}
661661

662+
// Make a few changes to the data right away
663+
// before it gets used for anything
662664
function cleanData(data, existingData) {
663-
// make a few changes to the data right away
664-
// before it gets used for anything
665665

666-
/*
667-
* Enforce unique IDs
668-
*/
666+
// Enforce unique IDs
669667
var suids = [], // seen uids --- so we can weed out incoming repeats
670668
uids = data.concat(Array.isArray(existingData) ? existingData : [])
671669
.filter(function(trace) { return 'uid' in trace; })

src/plots/gl3d/layout/axis_defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99

1010
'use strict';
11+
1112
var colorMix = require('tinycolor2').mix;
1213

1314
var Lib = require('../../../lib');

src/traces/surface/convert.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ proto.update = function(data) {
299299
this.showContour[i] = true;
300300
params.levels[i] = contourLevels[i];
301301
surface.highlightColor[i] = params.contourColor[i] = str2RgbaArray(contourParams.color);
302+
302303
if(contourParams.usecolormap) {
303304
surface.highlightTint[i] = params.contourTint[i] = 0;
304305
}

0 commit comments

Comments
 (0)