Skip to content

Commit 6ba3839

Browse files
committed
Remove superfluous comments
1 parent f95ae01 commit 6ba3839

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ var is = require('unist-util-is')
44

55
module.exports = findBefore
66

7-
/* Find a node before `index` in `parent` which passes
8-
* `test`. */
97
function findBefore(parent, index, test) {
108
var children
119
var child
@@ -24,7 +22,7 @@ function findBefore(parent, index, test) {
2422
throw new Error('Expected positive finite index or child node')
2523
}
2624

27-
/* Performance. */
25+
// Performance.
2826
if (index > children.length) {
2927
index = children.length
3028
}

0 commit comments

Comments
 (0)