Skip to content

Commit

Permalink
Remove useless local types usage
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Jan 9, 2019
1 parent 953000a commit 40f371f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/core.controller.js
Expand Up @@ -329,7 +329,6 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {

buildOrUpdateControllers: function() {
var me = this;
var types = [];
var newControllers = [];

helpers.each(me.data.datasets, function(dataset, datasetIndex) {
Expand All @@ -342,8 +341,6 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {
}
meta.type = type;

types.push(meta.type);

if (meta.controller) {
meta.controller.updateIndex(datasetIndex);
meta.controller.linkScales();
Expand Down

0 comments on commit 40f371f

Please sign in to comment.