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

Commit eec2aee

Browse files
committed
Merge pull request #46 from troutowicz/fix-extra
Fix extra function
2 parents d60788d + bfe8a5a commit eec2aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
var extras = ['clear', 'stop', 'resize', 'toBase64Image', 'generateLegend', 'update', 'addData', 'removeData'];
2525
function extra(type) {
2626
classData[type] = function() {
27-
this.state.chart[name].apply(this.state.chart, arguments);
27+
return this.state.chart[type].apply(this.state.chart, arguments);
2828
};
2929
}
3030

0 commit comments

Comments
 (0)