Content-Length: 309263 | pFad | http://github.com/weizhenye/vue-highcharts/commit/6e49f77367c26cd35acb7c0aeca362e3257a18f1

CF 0.0.4 · weizhenye/vue-highcharts@6e49f77 · GitHub
Skip to content

Commit 6e49f77

Browse files
committed
0.0.4
1 parent 1843228 commit 6e49f77

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dist/vue-highcharts.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function create(tagName, Highcharts) {
3333
if (isRenderer) {
3434
this.renderer = new Ctor(this.$el, this.width, this.height);
3535
} else {
36-
var opts = JSON.parse(JSON.stringify(this.options));
36+
var opts = this.options || {};
3737
opts.chart = opts.chart || {};
3838
opts.chart.renderTo = this.$el;
3939
this.chart = new Ctor(opts);
@@ -45,6 +45,10 @@ function create(tagName, Highcharts) {
4545
},
4646
beforeDestroy: function() {
4747
!isRenderer && this.chart.destroy();
48+
},
49+
// compat Vue v1.x
50+
ready: function() {
51+
this._renderChart();
4852
}
4953
};
5054
}

dist/vue-highcharts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-highcharts",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Highcharts component for Vue",
55
"main": "dist/vue-highcharts.js",
66
"jsnext:main": "src/index.js",

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/weizhenye/vue-highcharts/commit/6e49f77367c26cd35acb7c0aeca362e3257a18f1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy