Skip to content

Commit 347ff55

Browse files
committed
lint (infix spacing)
1 parent 0b443c2 commit 347ff55

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: src/traces/bar/set_positions.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ module.exports = function setPositions(gd, plotinfo) {
138138
ti,
139139
scale;
140140

141-
for(i = 0; i<bl.length; i++){ // trace index
141+
for(i = 0; i < bl.length; i++){ // trace index
142142
ti = gd.calcdata[bl[i]];
143-
for(j = 0; j<ti.length; j++) {
143+
for(j = 0; j < ti.length; j++) {
144144
sv = Math.round(ti[j].p / sumround);
145145
var previousSum = sums[sv] || 0;
146146
if(stack) ti[j].b = previousSum;

Diff for: src/traces/box/calc.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ var isNumeric = require('fast-isnumeric');
1313
var Lib = require('../../lib');
1414
var Axes = require('../../plots/cartesian/axes');
1515

16+
17+
// outlier definition based on http://www.physics.csbsju.edu/stats/box2.html
1618
module.exports = function calc(gd, trace) {
17-
// outlier definition based on http://www.physics.csbsju.edu/stats/box2.html
18-
var xa = Axes.getFromId(gd, trace.xaxis||'x'),
19-
ya = Axes.getFromId(gd, trace.yaxis||'y'),
19+
var xa = Axes.getFromId(gd, trace.xaxis || 'x'),
20+
ya = Axes.getFromId(gd, trace.yaxis || 'y'),
2021
orientation = trace.orientation,
2122
cd = [],
2223
valAxis, valLetter, val, valBinned,

0 commit comments

Comments
 (0)