Browse Source

Errors reported by Travis CI, 4th pass.

pull/254/head
Brandon Bernal 11 years ago
parent
commit
6d6a4a047d
  1. 3
      c3.js

3
c3.js

@ -995,7 +995,6 @@
d.endAngle = d.startAngle; d.endAngle = d.startAngle;
} }
if (isGaugeType(d.data)) { if (isGaugeType(d.data)) {
var sA = d.startAngle, eA = d.endAngle;
var gMin = __gauge_min, gMax = __gauge_max, var gMin = __gauge_min, gMax = __gauge_max,
gF = Math.abs(gMin) + gMax, gF = Math.abs(gMin) + gMax,
aTic = (Math.PI) / gF; aTic = (Math.PI) / gF;
@ -3799,7 +3798,7 @@
} }
*/ */
if (isNaN(this._current.endAngle)) { if (isNaN(this._current.endAngle)) {
this._current.endAngle = this._current.startAngle; this._current.endAngle = this._current.startAngle;
} }
interpolate = d3.interpolate(this._current, updated); interpolate = d3.interpolate(this._current, updated);
this._current = interpolate(0); this._current = interpolate(0);

Loading…
Cancel
Save