Przeglądaj źródła

style: linting fixes

tags/1.2.3
Shivam Mishra 6 lat temu
rodzic
commit
ece0015366
2 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      docs/assets/js/demoConfig.js
  2. +2
    -2
      src/js/charts/DonutChart.js

+ 1
- 1
docs/assets/js/demoConfig.js Wyświetl plik

@@ -51,4 +51,4 @@ export default {
}
}
}
}
};

+ 2
- 2
src/js/charts/DonutChart.js Wyświetl plik

@@ -34,8 +34,8 @@ export default class DonutChart extends AggregationChart {
let s = this.state;
this.radius =
this.height > this.width
? this.center.x - this.strokeWidth / 2
: this.center.y - this.strokeWidth / 2;
? this.center.x - this.strokeWidth / 2
: this.center.y - this.strokeWidth / 2;

const { radius, clockWise } = this;



Ładowanie…
Anuluj
Zapisz