Skip to content

Commit a04e6fd

Browse files
committed
Remove superfluous JSDoc comments
1 parent 1e979fc commit a04e6fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+163
-1006
lines changed

index.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,2 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html
6-
* @fileoverview Stringify HAST to HTML.
7-
*/
8-
91
'use strict';
10-
11-
/* eslint-env commonjs */
12-
13-
/* Expose. */
14-
module.exports = require('./lib/index.js');
2+
module.exports = require('./lib');

lib/all.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html:character-data
6-
* @fileoverview Stringify CDATA.
7-
*/
8-
91
'use strict';
102

11-
/* eslint-env commonjs */
12-
133
/* Dependencies. */
144
var one = require('./one');
155

166
/* Expose. */
177
module.exports = all;
188

19-
/**
20-
* Stringify all children of `parent`.
21-
*
22-
* @param {Object} ctx - Stringify configuration.
23-
* @param {HastNode} parent - Parent.
24-
* @return {string} - Stringified children.
25-
*/
9+
/* Stringify all children of `parent`. */
2610
function all(ctx, parent) {
2711
var children = parent && parent.children;
2812
var length = children && children.length;

lib/character-data.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html:character-data
6-
* @fileoverview Stringify CDATA.
7-
*/
8-
91
'use strict';
102

11-
/* eslint-env commonjs */
12-
133
/* Expose. */
144
module.exports = characterData;
155

16-
/**
17-
* Stringify a character-data `node`.
18-
*
19-
* @param {Object} ctx - Stringify configuration.
20-
* @param {HastCharacterData} node - Node.
21-
* @return {string} - Stringified `node`.
22-
*/
6+
/* Stringify a character-data `node`. */
237
function characterData(ctx, node) {
248
return '<![CDATA[' + node.value + ']]>';
259
}

lib/comment.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html:comment
6-
* @fileoverview Stringify comments.
7-
*/
8-
91
'use strict';
102

11-
/* eslint-env commonjs */
12-
133
/* Expose. */
144
module.exports = comment;
155

16-
/**
17-
* Stringify a comment `node`.
18-
*
19-
* @param {Object} ctx - Stringify configuration.
20-
* @param {HastComment} node - Node.
21-
* @return {string} - Stringified `node`.
22-
*/
6+
/* Stringify a comment `node`. */
237
function comment(ctx, node) {
248
return '<!--' + node.value + '-->';
259
}

lib/directive.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html:directive
6-
* @fileoverview Stringify directives.
7-
*/
8-
91
'use strict';
102

11-
/* eslint-env commonjs */
12-
133
/* Expose. */
144
module.exports = directive;
155

16-
/**
17-
* Stringify a directive `node`.
18-
*
19-
* @param {Object} ctx - Stringify configuration.
20-
* @param {HastDirective} node - Node.
21-
* @return {string} - Stringified `node`.
22-
*/
6+
/* Stringify a directive `node`. */
237
function directive(ctx, node) {
248
return '<' + node.value + '>';
259
}

lib/doctype.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1-
/**
2-
* @author Titus Wormer
3-
* @copyright 2016 Titus Wormer
4-
* @license MIT
5-
* @module hast:to-html:doctype
6-
* @fileoverview Stringify doctypes.
7-
*/
8-
91
'use strict';
102

11-
/* eslint-env commonjs */
12-
133
/* Expose. */
144
module.exports = doctype;
155

16-
/**
17-
* Stringify a doctype `node`.
18-
*
19-
* @param {Object} ctx - Stringify configuration.
20-
* @param {HastDoctype} node - Node.
21-
* @return {string} - Stringified `node`.
6+
/* Stringify a doctype `node`.
227
*/
238
function doctype(ctx, node) {
249
var pub = node.public;

0 commit comments

Comments
 (0)