From d79ea2714497d0200474273685dd14e4590cff20 Mon Sep 17 00:00:00 2001 From: valevoz Date: Sat, 29 Dec 2018 04:41:13 -0500 Subject: [PATCH 01/21] docs: fix typos (#211) --- docs/api/README.md | 4 ++-- docs/guide/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/README.md b/docs/api/README.md index 0e3fa59..103735e 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -54,7 +54,7 @@ If this value set be `true`, the component will search the closest parent elemen - Default: `+new Date()` - Details: -The comopnent will be reset if this property has changed, just like recreating a new comopnent, usually used when the case has filter or tabs. +The component will be reset if this property has changed, just like recreating a new component, usually used when the case has filter or tabs. ## Slots @@ -111,7 +111,7 @@ Inform the component that all the data has been loaded successfully, if the `$st #### $state.error -Inform the comopnent that this loading failed, the content of `error` slot will be diplayed. +Inform the component that this loading failed, the content of `error` slot will be displayed. #### $state.reset diff --git a/docs/guide/README.md b/docs/guide/README.md index 44ac834..7f35ce3 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -64,4 +64,4 @@ import InfiniteLoading from 'vue-infinite-loading'; Vue.use(InfiniteLoading, { /* options */ }); ``` -Same as the `script` include way, the `InfiniteLoading` component will be registered as a global comopnent if use the plugin API, you don't need to re-register it through `components` property in your own components. +Same as the `script` include way, the `InfiniteLoading` component will be registered as a global component if use the plugin API, you don't need to re-register it through `components` property in your own components. From bdb23f04420c95d23bc1f4d1e587c8c89840940d Mon Sep 17 00:00:00 2001 From: Robin MacPherson Date: Fri, 11 Jan 2019 22:11:54 -0800 Subject: [PATCH 02/21] docs: improve grammar and phrasing for the English guide --- docs/guide/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guide/README.md b/docs/guide/README.md index 7f35ce3..f220002 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -7,7 +7,7 @@ previewLink: //jsfiddle.net/PeachScript/a4Lxbf9w/embedded/result/ ### NPM -If you are building large application now, recommend you use the way. +If you are building a large application, we recommend you use the following method: ``` bash npm install vue-infinite-loading -S @@ -15,7 +15,7 @@ npm install vue-infinite-loading -S ### Direct `