Skip to content

Commit e6b3a7a

Browse files
authored
Merge pull request halfnelson#83 from elliotwaite/master
docs: fix typos and grammar
2 parents 3c5e333 + d544b23 commit e6b3a7a

File tree

9 files changed

+502
-502
lines changed

9 files changed

+502
-502
lines changed

docs_src/content/blog/2019-03-04-svelte-native-quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ Svelte-Native really is native, so it needs a mobile device to run. The build se
3131

3232
## Create a new Svelte-Native app
3333

34-
The easiest way to get started is to use the [latest template app](https://github.com/halfnelson/svelte-native-template)
34+
The easiest way to get started is to use the [latest template app](https://github.com/halfnelson/svelte-native-template):
3535

3636
```bash
3737
$ npx degit halfnelson/svelte-native-template myapp
3838
```
3939

40-
A fresh svelte-native app will be found in the `myapp` folder
40+
A fresh svelte-native app will be found in the `myapp` folder.
4141

4242
## Launch It
4343

docs_src/content/docs/0-important-note.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ title: Important note
44

55
### This is a community project
66

7-
Svelte Native is developed by members of the the Svelte community who wish to have the same smooth development experience on mobile devices as they have on the web. This project is not an officially supported product of either the NativeScript or Svelte projects.
7+
Svelte Native is developed by members of the Svelte community who wish to have the same smooth development experience on mobile devices as they have on the web. This project is not an officially supported product of either the NativeScript or Svelte projects.
88

99
Yet.

docs_src/content/docs/01-getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Svelte-Native really is native, so it needs a mobile device to run. The build se
2525

2626
#### Create a new Svelte-Native app
2727

28-
The easiest way to get started is to use the [latest template app](https://github.com/halfnelson/svelte-native-template)
28+
The easiest way to get started is to use the [latest template app](https://github.com/halfnelson/svelte-native-template):
2929

3030
```bash
3131
$ degit halfnelson/svelte-native-template myapp
3232
```
3333

34-
A fresh svelte-native app will be found in the `myapp` folder
34+
A fresh svelte-native app will be found in the `myapp` folder.
3535

3636
#### Launch It
3737

@@ -48,9 +48,9 @@ You will need to scan the QR Code using the "Playground" app you installed previ
4848

4949
### Advanced Install
5050

51-
To compile your apps for distribution, you will need to setup your system for local compilation.
51+
To compile your apps for distribution, you will need to set up your system for local compilation.
5252

53-
Svelte-Native runs on top of an unmodified NativeScript platform. Installation instructions for your operating system can be found in the [Native Script Guide](https://docs.nativescript.org/start/quick-setup)
53+
Svelte-Native runs on top of an unmodified NativeScript platform. Installation instructions for your operating system can be found in the [Native Script Guide](https://docs.nativescript.org/start/quick-setup).
5454

5555
Check you have the NativeScript build environment configured correctly by using the Nativescript doctor command:
5656

docs_src/content/docs/10-routing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Navigation/Routing
33
---
44

5-
Since Svelte Native is a thin bridge between Svelte and NativeScript. It is best if you familiarize yourself with the core concept of [routing in NativeScript](https://docs.nativescript.org/core-concepts/navigation)
5+
Since Svelte Native is a thin bridge between Svelte and NativeScript. It is best if you familiarize yourself with the core concept of [routing in NativeScript](https://docs.nativescript.org/core-concepts/navigation).
66

77
Routing in Svelte Native is designed to be very similar and the `svelte-native` module exposes the following functions:
88

@@ -53,7 +53,7 @@ You can specify the props used to create the Svelte component using the `props`
5353

5454
#### Specifying a Frame
5555

56-
Each `<frame>` element has its own navigation stack. If you are using multiple frames, you may want to specify in which frame the navigation will occur. For example, having a button in the side bar that changes the page in the main area. You can do this by adding the `frame` option:
56+
Each `<frame>` element has its own navigation stack. If you are using multiple frames, you may want to specify in which frame the navigation will occur. For example, having a button in the sidebar that changes the page in the main area. You can do this by adding the `frame` option:
5757

5858
```js
5959
navigate({
@@ -106,7 +106,7 @@ goBack({ to: options_page_ref })
106106

107107
### showModal
108108

109-
To show a page or component modally use the `showModal` function. Specify the page to open using the `page` option and props using the `props` option (just like in [navigate](#navigate))
109+
To show a page or component modally use the `showModal` function. Specify the page to open using the `page` option and props using the `props` option (just like in [navigate](#navigate)).
110110

111111
```html
112112
<!--{ filename: 'App.svelte'} -->
@@ -137,7 +137,7 @@ To show a page or component modally use the `showModal` function. Specify the pa
137137

138138
The other options available correspond directly to those in [ShowModalOptions](https://docs.nativescript.org/api-reference/interfaces/_ui_core_view_base_.showmodaloptions) and are passed through to the underlying NativeScript showModal method.
139139

140-
The `showModal` function returns a promise which resolves to whatever is passed to `closeModal`
140+
The `showModal` function returns a promise which resolves to whatever is passed to `closeModal`.
141141

142142
> **NOTE** The modal is opened in a new navigation context. If you want to allow navigation within the modal, or show an action bar, you will need to wrap the target page in a `frame` element. If you don't need any navigation within the modal then this won't be necessary.
143143

docs_src/content/docs/20-utilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ When `Template` is rendered by svelte, it outputs a special DOM element called `
3232

3333
Any extra properties added to the `Template` component are passed down and added to the `template` DOM element.
3434

35-
For concrete example of this pattern see svelte native's [listView element source](https://github.com/halfnelson/svelte-native/blob/master/src/dom/native/ListViewElement.ts#L50)
35+
For a concrete example of this pattern see svelte native's [listView element source](https://github.com/halfnelson/svelte-native/blob/master/src/dom/native/ListViewElement.ts#L50).
3636

3737
### Property Element
3838

0 commit comments

Comments
 (0)