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 5df3df3 commit ecec213Copy full SHA for ecec213
index.js
@@ -11,7 +11,8 @@ var unist = require('unist-util-assert');
11
var mdast = zwitch('type');
12
13
/* Expose. */
14
-module.exports = exports = unist.wrap(mdast);
+exports = unist.wrap(mdast);
15
+module.exports = exports;
16
17
exports.parent = unist.wrap(parent);
18
exports.text = unist.text;
@@ -20,7 +21,8 @@ exports.wrap = unist.wrap;
20
21
exports.all = mapz(exports, {key: 'children', indices: false});
22
23
/* Core interface. */
-mdast.invalid = mdast.unknown = unknown;
24
+mdast.unknown = unknown;
25
+mdast.invalid = unknown;
26
27
/* Per-type handling. */
28
mdast.handlers = {
0 commit comments