Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #46 from troutowicz/fix-extra
Browse files Browse the repository at this point in the history
Fix extra function
  • Loading branch information
joshhornby committed Dec 5, 2015
2 parents d60788d + bfe8a5a commit eec2aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
var extras = ['clear', 'stop', 'resize', 'toBase64Image', 'generateLegend', 'update', 'addData', 'removeData'];
function extra(type) {
classData[type] = function() {
this.state.chart[name].apply(this.state.chart, arguments);
return this.state.chart[type].apply(this.state.chart, arguments);
};
}

Expand Down

0 comments on commit eec2aee

Please sign in to comment.