File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,9 @@ npm install hastscript
1313
1414## Usage
1515
16- Dependencies:
17-
1816``` javascript
1917var h = require (' hastscript' );
20- ```
2118
22- AST:
23-
24- ``` javascript
2519var tree = h (' .foo#some-id' , [
2620 h (' span' , ' some text' ),
2721 h (' input' , {
@@ -78,7 +72,7 @@ DSL for creating virtual [HAST][] trees.
7872
7973###### Returns
8074
81- [ ` Node ` ] [ hast-node ] — A HAST node .
75+ [ ` Element ` ] [ element ] .
8276
8377## License
8478
@@ -102,7 +96,7 @@ DSL for creating virtual [HAST][] trees.
10296
10397[ hast ] : https://github.com/wooorm/hast
10498
105- [ hast-node ] : https://github.com/wooorm/hast#node
99+ [ element ] : https://github.com/wooorm/hast#element
106100
107101[ virtual-hyperscript ] : https://github.com/Matt-Esch/virtual-dom/tree/master/virtual-hyperscript
108102
You can’t perform that action at this time.
0 commit comments