Skip to content

Commit

Permalink
STY: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Sep 22, 2020
1 parent 5a523be commit aecd813
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion empress/support_files/js/barplot-panel-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ define([
}
};


// To get things started off with, let's add a layer
this.addLayer();
}
Expand Down
9 changes: 7 additions & 2 deletions empress/support_files/js/empress.js
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,8 @@ define([
_.each(layers, function (layer) {
if (scope._barplotPanel.useBorders) {
prevLayerMaxD = scope.addBorderBarplotLayerCoords(
coords, prevLayerMaxD
coords,
prevLayerMaxD
);
}
var layerInfo;
Expand Down Expand Up @@ -1911,7 +1912,11 @@ define([
// border color matches the background color, and we don't need to draw
// anything -- we can just increase the displacement and leave it at
// that.
if (borderColor[0] === 1 && borderColor[1] === 1 && borderColor[2] === 1) {
if (
borderColor[0] === 1 &&
borderColor[1] === 1 &&
borderColor[2] === 1
) {
return maxD;
}
// ... Otherwise, we actually have to go and create bars
Expand Down

0 comments on commit aecd813

Please sign in to comment.