Skip to content

Commit

Permalink
Merge pull request #59 from szepeviktor/typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
oscarotero authored Apr 30, 2024
2 parents 0a9bba0 + 30f231e commit abca28c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- The following use cases are now correctly parsed:
- Starting comments inside other comment: `/* This /* is a comment */`
- Regular expressions including quotes or brakets: `"Hello's".replace(/'/, "")`
- Regular expressions including quotes or brackets: `"Hello's".replace(/'/, "")`
- The Javascript tag allows a linebreak after the `>` character and support line comments.
Example:
```
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ drawbacks and none of them meets all my requirements, so I've created Vento.
previous version in 2020.
- It's not async-friendly. For example, you have some tags to work with sync
values (like `for` and `if`) and others for async values (like `asyncEach` and
`ifAysnc`). Some features don't work in async contexts.
`ifAsync`). Some features don't work in async contexts.
- To me, it's very uncomfortable to have to type the delimiters `{%` and `%}`
all the time (especially the `%` character).
- By default, all variables are escaped, so you have to remember to use the
Expand Down
2 changes: 1 addition & 1 deletion docs/syntax/import-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Or a function:
```

The imported variables are specified between curly brackets (For example
`{ message }`). You can import all elements from a template by omiting the
`{ message }`). You can import all elements from a template by omitting the
brackets.

```vento
Expand Down
2 changes: 1 addition & 1 deletion test/tokenizer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Deno.test("Basic tokenizer", () => {
]);
});

Deno.test("Tokenizer (doble quotes)", () => {
Deno.test("Tokenizer (double quotes)", () => {
const code = `<h1>{{ message + "{{}}" }}</h1>`;
const tokens = tmpl().tokenize(code);
assertEquals(tokens, [
Expand Down

0 comments on commit abca28c

Please sign in to comment.