Skip to content

Commit b4e0c8b

Browse files
Jinjiangkazupon
authored andcommitted
[en] http -> https & some typos (#1773)
1 parent a89d1ec commit b4e0c8b

File tree

6 files changed

+5
-10
lines changed

6 files changed

+5
-10
lines changed

Diff for: docs/en/advanced/lazy-loading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Second, in webpack 2, we can use the [dynamic import](https://github.com/tc39/pr
1616
import('./Foo.vue') // returns a Promise
1717
```
1818

19-
> Note: if you are using Babel, you will need to add the [syntax-dynamic-import](http://babeljs.io/docs/plugins/syntax-dynamic-import/) plugin so that Babel can properly parse the syntax.
19+
> Note: if you are using Babel, you will need to add the [syntax-dynamic-import](https://babeljs.io/docs/plugins/syntax-dynamic-import/) plugin so that Babel can properly parse the syntax.
2020
2121
Combining the two, this is how to define an async component that will be automatically code-split by webpack:
2222

Diff for: docs/en/api/router-link.md

-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<router-link :to="{ path: 'register', query: { plan: 'private' }}">Register</router-link>
4343
```
4444

45-
4645
- **replace**
4746

4847
- type: `boolean`
@@ -55,7 +54,6 @@
5554
<router-link :to="{ path: '/abc'}" replace></router-link>
5655
```
5756

58-
5957
- **append**
6058

6159
- type: `boolean`
@@ -68,7 +66,6 @@
6866
<router-link :to="{ path: 'relative/path'}" append></router-link>
6967
```
7068

71-
7269
- **tag**
7370

7471
- type: `string`
@@ -83,7 +80,6 @@
8380
<li>foo</li>
8481
```
8582

86-
8783
- **active-class**
8884

8985
- type: `string`

Diff for: docs/en/essentials/dynamic-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const User = {
2525
}
2626
```
2727

28-
You can check out a live example [here](http://jsfiddle.net/yyx990803/4xfa2f19/).
28+
You can check out a live example [here](https://jsfiddle.net/yyx990803/4xfa2f19/).
2929

3030
You can have multiple dynamic segments in the same route, and they will map to corresponding fields on `$route.params`. Examples:
3131

Diff for: docs/en/essentials/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ const app = new Vue({
6565
// Now the app has started!
6666
```
6767

68-
You can also check out this example [live](http://jsfiddle.net/yyx990803/xgrjzsup/).
68+
You can also check out this example [live](https://jsfiddle.net/yyx990803/xgrjzsup/).
6969

7070
Notice that a `<router-link>` automatically gets the `.router-link-active` class when its target route is matched. You can learn more about it in its [API reference](../api/router-link.md).

Diff for: docs/en/essentials/navigation.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The same rules apply for the `to` property of the `router-link` component.
4444

4545
In 2.2.0+, optionally provide `onComplete` and `onAbort` callbacks to `router.push` or `router.replace` as the 2nd and 3rd arguments. These callbacks will be called when the navigation either successfully completed (after all async hooks are resolved), or aborted (navigated to the same route, or to a different route before current navigation has finished), respectively.
4646

47-
**Note:** If the destination is the same as the current route and only params are changing (eg: going from one profile to another `/users/1` -> `/users/2`), you will have to use [beforeRouteUpdate](./dynamic-matching.html#reacting-to-params-changes) to react to changes (eg: fetching the user information).
47+
**Note:** If the destination is the same as the current route and only params are changing (e.g. going from one profile to another `/users/1` -> `/users/2`), you will have to use [`beforeRouteUpdate`](./dynamic-matching.html#reacting-to-params-changes) to react to changes (e.g. fetching the user information).
4848

4949
#### `router.replace(location, onComplete?, onAbort?)`
5050

@@ -54,7 +54,6 @@ It acts like `router.push`, the only difference is that it navigates without pus
5454
|-------------|--------------|
5555
| `<router-link :to="..." replace>` | `router.replace(...)` |
5656

57-
5857
#### `router.go(n)`
5958

6059
This method takes a single integer as parameter that indicates by how many steps to go forwards or go backwards in the history stack, similar to `window.history.go(n)`.

Diff for: docs/en/essentials/nested-routes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ const router = new VueRouter({
9696
})
9797
```
9898

99-
A working demo of this example can be found [here](http://jsfiddle.net/yyx990803/L7hscd8h/).
99+
A working demo of this example can be found [here](https://jsfiddle.net/yyx990803/L7hscd8h/).

0 commit comments

Comments
 (0)