From: Evert Timberg Date: Thu, 21 Apr 2016 11:50:20 +0000 (-0400) Subject: Fix build and update to latest node js version. X-Git-Tag: 2.1.0~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76b3494a0ae4d889f98e1af3ac77b4a8cbfab84c;p=thirdparty%2FChart.js.git Fix build and update to latest node js version. --- 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]; },