Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jrideout committed Dec 6, 2013
1 parent c2db1ce commit f9ec55c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions dc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ dc.baseMixin = function (_chart) {
} else {
dc.logger.debug("Not a valid option setter name: " + o);
}
};
}
return _chart;
};

Expand Down Expand Up @@ -5816,7 +5816,7 @@ dc.rowChart = function (parent, chartGroup) {
});
dc.transition(titlelab, _chart.transitionDuration())
.attr("transform", translateX);
}
}
}

/**
Expand All @@ -5828,7 +5828,7 @@ dc.rowChart = function (parent, chartGroup) {
if (!arguments.length) return _renderTitleLabel;
_renderTitleLabel = _;
return _chart;
}
};

function onClick(d) {
_chart.onClick(d);
Expand Down
2 changes: 1 addition & 1 deletion spec/bar-chart-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ describe('dc.barChart', function() {
it('should automatically size the bar widths', function() {
forEachBar(function (bar) {
expect(bar.attr("width")).toBe("9");
})
});
});

it('should generate negative bars for stack 0', function () {
Expand Down
2 changes: 1 addition & 1 deletion spec/box-plot-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('dc.boxPlot', function() {

describe('when a box has no data', function() {
beforeEach(function() {
var otherDimension = data.dimension(function (d) { return d.countrycode; })
var otherDimension = data.dimension(function (d) { return d.countrycode; });
otherDimension.filter("US");
chart.redraw();
});
Expand Down
2 changes: 1 addition & 1 deletion spec/coordinate-grid-chart-spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('dc.coordinateGridChart', function() {
var chart, id;
var data, dimension, group
var data, dimension, group;

beforeEach(function () {
data = crossfilter(loadDateFixture());
Expand Down
2 changes: 1 addition & 1 deletion src/base-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ dc.baseMixin = function (_chart) {
} else {
dc.logger.debug("Not a valid option setter name: " + o);
}
};
}
return _chart;
};

Expand Down
4 changes: 2 additions & 2 deletions src/row-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ dc.rowChart = function (parent, chartGroup) {
});
dc.transition(titlelab, _chart.transitionDuration())
.attr("transform", translateX);
}
}
}

/**
Expand All @@ -232,7 +232,7 @@ dc.rowChart = function (parent, chartGroup) {
if (!arguments.length) return _renderTitleLabel;
_renderTitleLabel = _;
return _chart;
}
};

function onClick(d) {
_chart.onClick(d);
Expand Down
6 changes: 3 additions & 3 deletions web/js/dc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ dc.baseMixin = function (_chart) {
} else {
dc.logger.debug("Not a valid option setter name: " + o);
}
};
}
return _chart;
};

Expand Down Expand Up @@ -5816,7 +5816,7 @@ dc.rowChart = function (parent, chartGroup) {
});
dc.transition(titlelab, _chart.transitionDuration())
.attr("transform", translateX);
}
}
}

/**
Expand All @@ -5828,7 +5828,7 @@ dc.rowChart = function (parent, chartGroup) {
if (!arguments.length) return _renderTitleLabel;
_renderTitleLabel = _;
return _chart;
}
};

function onClick(d) {
_chart.onClick(d);
Expand Down

0 comments on commit f9ec55c

Please sign in to comment.