Skip to content

Commit 27b8573

Browse files
committed
Removed unnecessary code
1 parent 6260de1 commit 27b8573

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

example/index.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@
2727
>
2828
FusionCharts will render here...
2929
</fusioncharts>
30-
<div v-show="displayChart">
31-
<fusioncharts
32-
:width="width"
33-
:height="height"
34-
:type="type"
35-
:dataFormat="dataFormat"
36-
:dataSource="dataSource"
37-
>
38-
FusionCharts will render here...
39-
</fusioncharts>
40-
</div>
30+
<fusioncharts
31+
:width="width"
32+
:height="height"
33+
:type="type"
34+
:dataFormat="dataFormat"
35+
:dataSource="dataSource"
36+
>
37+
FusionCharts will render here...
38+
</fusioncharts>
4139
<button @click="changeFirstChartAttr">Change 1st Chart Attributes</button>
4240
<button @click="changeSecondChartAttr">
4341
Change 2nd Chart Attributes

example/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ var chart = new Vue({
9999
}
100100
]
101101
}
102-
},
103-
displayChart: false
102+
}
104103
},
105104
methods: {
106105
changeFirstChartAttr: function() {
@@ -130,7 +129,6 @@ var chart = new Vue({
130129
schema
131130
);
132131
this.dataSource.data = fusionTable;
133-
this.displayChart = true;
134132
});
135133
}
136134
});

0 commit comments

Comments
 (0)