From f04a0ec69b8e9ce9962426471759497f907197f0 Mon Sep 17 00:00:00 2001 From: Mattia Trapani Date: Mon, 22 Oct 2018 15:56:11 +0200 Subject: [PATCH] chore(docs): Add missing commas in example snippet (#423) Just a quick fix in a snippet --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index ff10f386..ab3aff1e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -86,10 +86,10 @@ import { Line } from 'vue-chartjs' export default { extends: Line, - props: ['datasets', 'options'] + props: ['datasets', 'options'], data: () => ({ htmlLegend: null - }) + }), mounted () { this.renderChart(this.datasets, this.options) this.htmlLegend = this.generateLegend()