Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit 30f8891

Browse files
committed
docs(readme): fix typos
1 parent e5b2a8b commit 30f8891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ setInterval(() => render(theTime(new Date()), document.body), 1000)
3131

3232
### Expressions
3333

34-
jtml interpolates placeholder expressions in special ways across the template. Depending on where you put a placeholder expression (the `${}` syntax is a placeholder expression) depends on what it does. _Importantly_ "Attributes" behave differently to "Nodes". Here is an comprehensive list:
34+
jtml interpolates placeholder expressions in special ways across the template. Depending on where you put a placeholder expression (the `${}` syntax is a placeholder expression) depends on what it does. _Importantly_ "Attributes" behave differently to "Nodes". Here is a comprehensive list:
3535

3636
#### Attributes
3737

@@ -166,7 +166,7 @@ render(html`<div>Hello ${embolden('world')}!</div>`, document.body)
166166
167167
##### Iterables (like Arrays)
168168
169-
Any placeholder expression which evaluates to an Array/Iterable is evaluated per-item. If a single item is a Document Fragment or Sub Template then it behaves it will be rendered, otherwise it is treated as a String and gets added as a `Text` node. All of the contents of the Array will be rendered as one. Some examples:
169+
Any placeholder expression which evaluates to an Array/Iterable is evaluated per-item. If a single item is a Document Fragment or Sub Template then it will be rendered as you might expect, otherwise it is treated as a String and gets added as a `Text` node. All of the contents of the Array will be rendered as one. Some examples:
170170
171171
```js
172172
import {html, render} from '@github/jtml'

0 commit comments

Comments
 (0)