From: Tanner Linsley Date: Sat, 31 Oct 2015 22:09:11 +0000 (-0600) Subject: commas to pass jshint X-Git-Tag: 2.0.0-beta1~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1597%2Fhead;p=thirdparty%2FChart.js.git commas to pass jshint --- diff --git a/src/controllers/controller.doughnut.js b/src/controllers/controller.doughnut.js index 7e724d15c..e6992814d 100644 --- a/src/controllers/controller.doughnut.js +++ b/src/controllers/controller.doughnut.js @@ -22,7 +22,7 @@ // Need to override these to give a nice default tooltips: { callbacks: { - title: function() { return '' }, + title: function() { return '';}, label: function(tooltipItem, data) { return data.labels[tooltipItem.index] + ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index]; } diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 6bcc6e0df..cca8a65b8 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -21,7 +21,7 @@ // Need to override these to give a nice default tooltips: { callbacks: { - title: function() { return '' }, + title: function() { return ''; }, label: function(tooltipItem, data) { return data.labels[tooltipItem.index] + ': ' + tooltipItem.yLabel; }