Skip to content

Commit

Permalink
Fix #4397 (echarts.extendSeriesModel bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Nov 4, 2016
1 parent 985cfe7 commit 3b7680c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ define(function (require) {
if (superClass) {
superClass = 'series.' + superClass.replace('series.', '');
var classType = parseClassType(superClass);
Clazz = SeriesModel.getClass(classType.main, classType.sub, true);
Clazz = ComponentModel.getClass(classType.main, classType.sub, true);
}
return Clazz.extend(opts);
};
Expand Down

0 comments on commit 3b7680c

Please sign in to comment.