diff --git a/.travis.yml b/.travis.yml index cdb70857d..2e66dc7b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: node_js node_js: - - "5.6" - - "4.3" + - "5.10" before_install: - "export CHROME_BIN=/usr/bin/google-chrome" diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 19ca88fcf..dd1245940 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -422,7 +422,7 @@ module.exports = function(Chart) { canvas.style.width = this.chart.originalCanvasStyleWidth; canvas.style.height = this.chart.originalCanvasStyleHeight; - Chart.pluginService.notifyPlugins('destory', [this, easingDecimal]); + Chart.pluginService.notifyPlugins('destory', [this]); delete Chart.instances[this.id]; },