Skip to content

Commit

Permalink
0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhenye committed Nov 7, 2016
1 parent d29c6e0 commit 7b24628
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/vue-highcharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function create(tagName, Highcharts) {
}
: { options: { type: Object, required: true } },
methods: {
_init: function() {
_initChart: function() {
this._renderChart();
if (isRenderer) {
this.$watch('width', this._renderChart);
Expand All @@ -70,7 +70,7 @@ function create(tagName, Highcharts) {
}
},
mounted: function() {
this._init();
this._initChart();
},
beforeDestroy: function() {
if (isRenderer) {
Expand All @@ -85,7 +85,7 @@ function create(tagName, Highcharts) {
},
// compat Vue v1.x
ready: function() {
this._init();
this._initChart();
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-highcharts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-highcharts",
"version": "0.0.7",
"version": "0.0.8",
"description": "Highcharts component for Vue",
"main": "dist/vue-highcharts.js",
"jsnext:main": "src/index.js",
Expand Down

0 comments on commit 7b24628

Please sign in to comment.