Skip to content

Commit

Permalink
compat Vue v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhenye committed Oct 14, 2016
1 parent 4bf8b1b commit 1843228
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ function create(tagName, Highcharts) {
},
beforeDestroy: function() {
!isRenderer && this.chart.destroy();
},
// compat Vue v1.x
ready: function() {
this._renderChart();
}
};
}
Expand Down

0 comments on commit 1843228

Please sign in to comment.