Skip to content

Commit 9cd0686

Browse files
committed
Test commenting seamingly unnecessary code
1 parent 92cb840 commit 9cd0686

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/controller.doughnut.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ module.exports = function(Chart) {
246246
arc.pivot();
247247
},
248248

249-
removeHoverStyle: function(element) {
249+
/* removeHoverStyle: function(element) {
250250
var elementOpts = this.chart.options.elements.arc;
251251
var dataset = this.chart.data.datasets[element._datasetIndex];
252252
var index = element._index;
@@ -257,7 +257,7 @@ module.exports = function(Chart) {
257257
model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : valueOrDefault(dataset.backgroundColor, index, elementOpts.backgroundColor);
258258
model.borderColor = custom.borderColor ? custom.borderColor : valueOrDefault(dataset.borderColor, index, elementOpts.borderColor);
259259
model.borderWidth = custom.borderWidth ? custom.borderWidth : valueOrDefault(dataset.borderWidth, index, elementOpts.borderWidth);
260-
},
260+
}, */
261261

262262
calculateTotal: function() {
263263
var dataset = this.getDataset();

0 commit comments

Comments
 (0)