Change render() method name to renderChart

This way it does not conflict with the vue 2.0 render function.

Signed-off-by: Jakub Juszczak <netghost03@gmail.com>
This commit is contained in:
Jakub Juszczak
2016-08-23 20:01:38 +02:00
parent e3f9936049
commit 012b9a82bf
6 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(

View File

@@ -28,7 +28,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(

View File

@@ -43,7 +43,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(

View File

@@ -28,7 +28,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(

View File

@@ -28,7 +28,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(

View File

@@ -28,7 +28,7 @@ export default Vue.extend({
},
methods: {
render (data, options) {
renderChart (data, options) {
let chartOptions = mergeOptions(this.defaultOptions, options)
this._chart = new Chart(