File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- /* Dependencies. */
4
3
var Parser = require ( 'parse5/lib/parser' ) ;
5
4
var pos = require ( 'unist-util-position' ) ;
6
5
var fromParse5 = require ( 'hast-util-from-parse5' ) ;
@@ -9,10 +8,8 @@ var voids = require('html-void-elements');
9
8
var ns = require ( 'web-namespaces' ) ;
10
9
var zwitch = require ( 'zwitch' ) ;
11
10
12
- /* Expose. */
13
11
module . exports = wrap ;
14
12
15
- /* Constants. */
16
13
var IN_TEMPLATE_MODE = 'IN_TEMPLATE_MODE' ;
17
14
var CHARACTER_TOKEN = 'CHARACTER_TOKEN' ;
18
15
var START_TAG_TOKEN = 'START_TAG_TOKEN' ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- /* Dependencies. */
4
3
var test = require ( 'tape' ) ;
5
4
var u = require ( 'unist-builder' ) ;
6
5
var h = require ( 'hastscript' ) ;
@@ -10,7 +9,6 @@ var remark2rehype = require('remark-rehype');
10
9
var stringify = require ( 'rehype-stringify' ) ;
11
10
var raw = require ( './' ) ;
12
11
13
- /* Tests. */
14
12
test ( 'raw' , function ( t ) {
15
13
t . throws (
16
14
function ( ) {
@@ -107,7 +105,6 @@ test('raw', function (t) {
107
105
t . end ( ) ;
108
106
} ) ;
109
107
110
- /* Tests. */
111
108
test ( 'integration' , function ( t ) {
112
109
unified ( )
113
110
. use ( parse )
You can’t perform that action at this time.
0 commit comments