Skip to content

Commit cf66d2e

Browse files
fix indentation & space
satisfy eslint
1 parent 0a531f8 commit cf66d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/sunburst/calc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ exports.calc = function(gd, trace) {
192192
if(failed) return;
193193

194194
// TODO add way to sort by height also?
195-
if ( trace.sort) {
196-
hierarchy.sort(function(a, b) { return b.value - a.value; });
195+
if (trace.sort) {
196+
hierarchy.sort(function(a, b) { return b.value - a.value; });
197197
}
198198

199199
var pullColor;

0 commit comments

Comments
 (0)