Skip to content

Commit ecec213

Browse files
committed
Refactor code-style
1 parent 5df3df3 commit ecec213

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ var unist = require('unist-util-assert');
1111
var mdast = zwitch('type');
1212

1313
/* Expose. */
14-
module.exports = exports = unist.wrap(mdast);
14+
exports = unist.wrap(mdast);
15+
module.exports = exports;
1516

1617
exports.parent = unist.wrap(parent);
1718
exports.text = unist.text;
@@ -20,7 +21,8 @@ exports.wrap = unist.wrap;
2021
exports.all = mapz(exports, {key: 'children', indices: false});
2122

2223
/* Core interface. */
23-
mdast.invalid = mdast.unknown = unknown;
24+
mdast.unknown = unknown;
25+
mdast.invalid = unknown;
2426

2527
/* Per-type handling. */
2628
mdast.handlers = {

0 commit comments

Comments
 (0)