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 information = require ( 'property-information' ) ;
5
4
var camelcase = require ( 'camelcase' ) ;
6
5
var vfileLocation = require ( 'vfile-location' ) ;
7
6
var h = require ( 'hastscript' ) ;
8
7
9
- /* Expose. */
10
8
module . exports = wrapper ;
11
9
12
10
var own = { } . hasOwnProperty ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- /* Dependencies. */
4
3
var fs = require ( 'fs' ) ;
5
4
var path = require ( 'path' ) ;
6
5
var test = require ( 'tape' ) ;
@@ -11,13 +10,11 @@ var parse5 = require('parse5');
11
10
var visit = require ( 'unist-util-visit' ) ;
12
11
var fromParse5 = require ( '..' ) ;
13
12
14
- /* Methods. */
15
13
var join = path . join ;
16
14
var read = fs . readFileSync ;
17
15
var write = fs . writeFileSync ;
18
16
var dir = fs . readdirSync ;
19
17
20
- /* Fixtures. */
21
18
test ( 'hast-util-from-parse5' , function ( t ) {
22
19
var input = '<title>Hello!</title><h1>World!' ;
23
20
var file = vfile ( input ) ;
@@ -298,7 +295,6 @@ test('hast-util-from-parse5', function (t) {
298
295
t . end ( ) ;
299
296
} ) ;
300
297
301
- /* Fixtures. */
302
298
test ( 'fixtures' , function ( t ) {
303
299
var base = join ( __dirname , 'fixtures' ) ;
304
300
var entries = dir ( base ) ;
You can’t perform that action at this time.
0 commit comments