File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,9 @@ npm install hastscript
13
13
14
14
## Usage
15
15
16
- Dependencies:
17
-
18
16
``` javascript
19
17
var h = require (' hastscript' );
20
- ```
21
18
22
- AST:
23
-
24
- ``` javascript
25
19
var tree = h (' .foo#some-id' , [
26
20
h (' span' , ' some text' ),
27
21
h (' input' , {
@@ -78,7 +72,7 @@ DSL for creating virtual [HAST][] trees.
78
72
79
73
###### Returns
80
74
81
- [ ` Node ` ] [ hast-node ] — A HAST node .
75
+ [ ` Element ` ] [ element ] .
82
76
83
77
## License
84
78
@@ -102,7 +96,7 @@ DSL for creating virtual [HAST][] trees.
102
96
103
97
[ hast ] : https://github.com/wooorm/hast
104
98
105
- [ hast-node ] : https://github.com/wooorm/hast#node
99
+ [ element ] : https://github.com/wooorm/hast#element
106
100
107
101
[ virtual-hyperscript ] : https://github.com/Matt-Esch/virtual-dom/tree/master/virtual-hyperscript
108
102
You can’t perform that action at this time.
0 commit comments