From 46fc96bf4d97989096aa1024be3d0ee2c9a6a789 Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Wed, 25 May 2016 21:30:22 -0400 Subject: [PATCH] Remove unused code from core controller. --- src/core/core.controller.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/core/core.controller.js b/src/core/core.controller.js index e53faaf6a..a8a9ed58f 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -53,7 +53,6 @@ module.exports = function(Chart) { this.ensureScalesHaveIDs(); this.buildOrUpdateControllers(); this.buildScales(); - this.buildSurroundingItems(); this.updateLayout(); this.resetElements(); this.initToolTip(); @@ -166,18 +165,6 @@ module.exports = function(Chart) { Chart.scaleService.addScalesToLayout(this); }, - buildSurroundingItems: function() { - /*if (this.options.title) { - this.titleBlock = new Chart.Title({ - ctx: this.chart.ctx, - options: this.options.title, - chart: this - }); - - Chart.layoutService.addBox(this, this.titleBlock); - }*/ - }, - updateLayout: function() { Chart.layoutService.update(this, this.chart.width, this.chart.height); }, -- 2.47.3