Browse Source

Spacing and Tabbing reported by Travis CI, 2nd pass.

pull/254/head
Brandon Bernal 11 years ago
parent
commit
1c30d07827
  1. 4
      c3.js

4
c3.js

@ -1041,7 +1041,7 @@
return translate;
}
function getArcRatio(d) {
var whole = __gauge_style == 'arc' ? Math.PI : (Math.PI * 2);
var whole = __gauge_style === 'arc' ? Math.PI : (Math.PI * 2);
return d ? (d.endAngle - d.startAngle) / whole : null;
}
function convertToArcData(d) {
@ -2843,7 +2843,7 @@
updateLegend(mapToIds(c3.data.targets), {withTransform: false, withTransitionForTransform: false});
/*-- Main Region --*/
if (c3.data.targets.length == 0) {
if (c3.data.targets.length === 0) {
main.append("text")
.attr("class", CLASS.text)
.attr("x", (main[0][0].parentNode.width.baseVal.value / 2) - margin.left)

Loading…
Cancel
Save