Skip to content

Commit c0cf54f

Browse files
committed
fmt
1 parent da31e14 commit c0cf54f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

example/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
## Simple example with default options
22

33
```ts
4-
import { Handlebars } from 'https://deno.land/x/handlebars/mod.ts';
4+
import { Handlebars } from "https://deno.land/x/handlebars/mod.ts";
55

66
const handle = new Handlebars();
77

8-
const text = await handle.renderView('index', { name: 'Alosaur' });
8+
const text = await handle.renderView("index", { name: "Alosaur" });
99

1010
console.log(text);
11-
1211
```
1312

1413
Just run this script
1514

1615
`deno run --allow-read mod.ts`
1716

18-
1917
Returns:
2018

2119
```ts
@@ -27,5 +25,4 @@ title!
2725

2826
----
2927
<span>footer!</span>
30-
3128
```

example/mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// import { Handlebars } from 'https://deno.land/x/handlebars/mod.ts';
2-
import { Handlebars } from '../mod.ts';
2+
import { Handlebars } from "../mod.ts";
33

44
const handle = new Handlebars();
55

6-
const text = await handle.renderView('index', { name: 'Alosaur' });
6+
const text = await handle.renderView("index", { name: "Alosaur" });
77

88
console.log(text);

0 commit comments

Comments
 (0)