Explorar el Código

style: linting fixes

tags/1.2.3
Shivam Mishra hace 6 años
padre
commit
ece0015366
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +1
    -1
      docs/assets/js/demoConfig.js
  2. +2
    -2
      src/js/charts/DonutChart.js

+ 1
- 1
docs/assets/js/demoConfig.js Ver fichero

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

+ 2
- 2
src/js/charts/DonutChart.js Ver fichero

@@ -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;



Cargando…
Cancelar
Guardar