We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474d197 commit 766ff47Copy full SHA for 766ff47
index.js
@@ -5,7 +5,6 @@ var zwitch = require('zwitch')
5
var mapz = require('mapz')
6
var unist = require('unist-util-assert')
7
8
-/* Construct. */
9
var hast = zwitch('type')
10
11
exports = unist.wrap(hast)
@@ -17,11 +16,11 @@ exports.void = unist.void
17
16
exports.wrap = unist.wrap
18
exports.all = mapz(exports, {key: 'children', indices: false})
19
20
-/* Core interface. */
+// Core interface.
21
hast.invalid = unknown
22
hast.unknown = unknown
23
24
-/* Per-type handling. */
+// Per-type handling.
25
hast.handlers = {
26
root: unist.wrap(root),
27
element: unist.wrap(element),
0 commit comments