From 76b3494a0ae4d889f98e1af3ac77b4a8cbfab84c Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Thu, 21 Apr 2016 07:50:20 -0400 Subject: [PATCH] Fix build and update to latest node js version. --- .travis.yml | 3 +-- src/core/core.controller.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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]; },