Skip to content

Commit 2daa78b

Browse files
committed
Fix code-style in example
1 parent 69393f2 commit 2daa78b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

readme.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@ npm install hastscript
1717
var h = require('hastscript');
1818

1919
var tree = h('.foo#some-id', [
20-
h('span', 'some text'),
21-
h('input', {
22-
'type': 'text',
23-
'value': 'foo'
24-
}),
25-
h('a.alpha', {
26-
'class': 'bravo charlie',
27-
'download': 'download'
28-
}, ['delta', 'echo'])
20+
h('span', 'some text'),
21+
h('input', {type: 'text', value: 'foo'}),
22+
h('a.alpha', {
23+
class: 'bravo charlie',
24+
download: 'download'
25+
}, ['delta', 'echo'])
2926
]);
3027
```
3128

0 commit comments

Comments
 (0)