Skip to content

Commit

Permalink
Add missing jsdoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 19, 2015
1 parent a3b0829 commit 63b83b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/rules/maximum-line-length.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,15 @@ function maximumLineLength(ast, file, preferred, done) {
whitelist(initial - 1, final);
});

/*
/**
* Finally, whitelist URLs, but only if they occur at
* or after the wrap. However, when they do, and
* there’s white-space after it, they are not
* whitelisted.
*
* @param {Node} node
* @param {number} pos
* @param {Node} parent
*/
function validateLink(node, pos, parent) {
var next = parent.children[pos + 1];
Expand Down
6 changes: 5 additions & 1 deletion mdast-lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -2401,11 +2401,15 @@ function maximumLineLength(ast, file, preferred, done) {
whitelist(initial - 1, final);
});

/*
/**
* Finally, whitelist URLs, but only if they occur at
* or after the wrap. However, when they do, and
* there’s white-space after it, they are not
* whitelisted.
*
* @param {Node} node
* @param {number} pos
* @param {Node} parent
*/
function validateLink(node, pos, parent) {
var next = parent.children[pos + 1];
Expand Down

0 comments on commit 63b83b9

Please sign in to comment.