Skip to content

Commit

Permalink
Fix build and update to latest node js version.
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Apr 21, 2016
1 parent 13e0387 commit 76b3494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: node_js
node_js:
- "5.6"
- "4.3"
- "5.10"

before_install:
- "export CHROME_BIN=/usr/bin/google-chrome"
Expand Down
2 changes: 1 addition & 1 deletion src/core/core.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
},
Expand Down

0 comments on commit 76b3494

Please sign in to comment.