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

Commit

Permalink
Fix extra function
Browse files Browse the repository at this point in the history
  • Loading branch information
troutowicz committed Sep 15, 2015
1 parent 6fe5ca9 commit bfe8a5a
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 @@ -21,7 +21,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 bfe8a5a

Please sign in to comment.