Skip to content

Commit 1bebead

Browse files
authored
Merge pull request #79 from caputdraconis050630/fix-typo
Fix typo
2 parents 1b90f67 + d1356e7 commit 1bebead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/van_dml/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Van_DML extends the core of VanJS. You can enable van_dml like this:
2121
const { h1, h2, div, p, button } = van.tags;
2222
const { begin, end, base, sp, css } = van
2323

24-
beign(document.body)
24+
begin(document.body)
2525
h1("Headline")
2626
begin(div({style: "border: 1px solid black"}))
2727
h2("Headline in a box")
@@ -77,7 +77,7 @@ base() returns the current base:
7777
let b = base(); // returns the current base (div())
7878
```
7979
80-
sp() is the current Stack-Position. Initially SP() is 0. With each call of `begin()` sp() is incremented, `end()` decrements sp().
80+
sp() is the current Stack-Position. Initially sp() is 0. With each call of `begin()` sp() is incremented, `end()` decrements sp().
8181
To check your code, you can add this line to the end of Javascript:
8282
```JS
8383
begin(document.body)

0 commit comments

Comments
 (0)