Skip to content

Commit 33da300

Browse files
authored
Fix README Typos
1 parent 1c2be6a commit 33da300

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ Vue.component('line-chart', {
7373

7474
If you're using Gulp, Browserify or Webpack 1 the entry is `vue-chartjs.js` which is __transpiled__ and __bundled__ UMD Module.
7575

76-
However Chart.js is a `peerDependencies` so you have to install it separately. In most projects This way, you can have different versions of Chart.js then in this package.
76+
However, Chart.js is a `peerDependencies` so you have to install it separately. In most projects This way, you can have different versions of Chart.js then in this package.
7777

7878
### Webpack 2
7979
If you're using Webpack 2 it will automatically use the `jsnext:main` / `module` entry point. Which is `es/index.js`
80-
It is a __transpiled__ es version of the source. And is not __bundled__ to a module. This way you tree shaking will work. Like in the bundled version, `Chart.js` is a `peerDependencies` and need to be installed.
80+
It is a __transpiled__ es version of the source. And is not __bundled__ to a module. This way your tree shaking will work. Like in the bundled version, `Chart.js` is a `peerDependencies` and need to be installed.
8181

8282

8383
## How to use
@@ -123,7 +123,7 @@ import CommitChart from 'path/to/component/CommitChart'
123123

124124
## Another Example with options
125125

126-
You can overwrite the default chart options. Just pass the options object as a second paramenter to the render method
126+
You can overwrite the default chart options. Just pass the options object as a second parameter to the render method
127127

128128
```javascript
129129
// MonthlyIncome.vue
@@ -158,15 +158,15 @@ export default {
158158
## Reactivity
159159

160160
Chart.js does not update or re-render the chart if new data is passed.
161-
However you can simply implement this on your own or use one of the two mixins which are included.
161+
However, you can simply implement this on your own or use one of the two mixins which are included.
162162

163163
- `reactiveProp`
164164
- `reactiveData`
165165

166166
Both are included in the `mixins` module.
167167

168168
The mixins automatically create `chartData` as a prop or data. And add a watcher. If data has changed, the chart will update.
169-
However keep in mind the limitations of vue and javascript for mutations on arrays and objects.
169+
However, keep in mind the limitations of vue and javascript for mutations on arrays and objects.
170170
**It is important that you pass your options in a local variable named `options`!**
171171
The reason is that if the mixin re-renders the chart it calls `this.renderChart(this.chartData, this.options`)` so don't pass in the options object directly or it will be ignored.
172172

@@ -188,7 +188,7 @@ export default {
188188
```
189189

190190
### Mixins module
191-
The `mixins` module is included in the `VueCharts` module and as a seperate module.
191+
The `mixins` module is included in the `VueCharts` module and as a separate module.
192192
Some ways to import them:
193193

194194
```javascript
@@ -294,7 +294,7 @@ npm run e2e
294294
npm test
295295
```
296296

297-
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
297+
For a detailed explanation of how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
298298

299299
## Contributing
300300

0 commit comments

Comments
 (0)