Skip to content

Commit 8ab81f0

Browse files
committed
replace nbsp in docs
1 parent 7d11fa8 commit 8ab81f0

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

documentation/docs/03-template-syntax/11-bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ All visible elements have the following readonly bindings, measured with a `Resi
230230
bind:this={dom_node}
231231
```
232232

233-
To get a reference to a DOM node, use `bind:this`. The value will be `undefined` until the component is mounted — in other words, you should read it inside an effect or an event handler, but not during component initialisation:
233+
To get a reference to a DOM node, use `bind:this`. The value will be `undefined` until the component is mounted — in other words, you should read it inside an effect or an event handler, but not during component initialisation:
234234

235235
```svelte
236236
<script>

documentation/docs/03-template-syntax/13-transition.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ transition = (node: HTMLElement, params: any, options: { direction: 'in' | 'out'
6868

6969
Transitions can use custom functions. If the returned object has a `css` function, Svelte will generate keyframes for a [web animation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
7070

71-
The `t` argument passed to `css` is a value between `0` and `1` after the `easing` function has been applied. _In_ transitions run from `0` to `1`, _out_ transitions run from `1` to `0` in other words, `1` is the element's natural state, as though no transition had been applied. The `u` argument is equal to `1 - t`.
71+
The `t` argument passed to `css` is a value between `0` and `1` after the `easing` function has been applied. _In_ transitions run from `0` to `1`, _out_ transitions run from `1` to `0` in other words, `1` is the element's natural state, as though no transition had been applied. The `u` argument is equal to `1 - t`.
7272

7373
The function is called repeatedly _before_ the transition begins, with different `t` and `u` arguments.
7474

@@ -169,4 +169,3 @@ An element with transitions will dispatch the following events in addition to an
169169
</p>
170170
{/if}
171171
```
172-

documentation/docs/99-legacy/02-legacy-reactive-assignments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In legacy mode, any top-level statement (i.e. not inside a block or a function)
1515
// when `a`, `b` or `sum` change
1616
$: console.log(`${a} + ${b} = ${sum}`);
1717
18-
// this is a 'reactive assignment' — `sum` will be
18+
// this is a 'reactive assignment' — `sum` will be
1919
// recalculated when `a` or `b` change. It is
2020
// not necessary to declare `sum` separately
2121
$: sum = a + b;

documentation/docs/99-legacy/40-legacy-component-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In Svelte 3 and 4, the API for interacting with a component is different than in
1111
const component = new Component(options);
1212
```
1313

14-
A client-side component — that is, a component compiled with `generate: 'dom'` (or the `generate` option left unspecified) is a JavaScript class.
14+
A client-side component — that is, a component compiled with `generate: 'dom'` (or the `generate` option left unspecified) is a JavaScript class.
1515

1616
```ts
1717
// @noErrors

0 commit comments

Comments
 (0)