Skip to content

Commit 9b0a67c

Browse files
committed
Remove superfluous comments
1 parent fdfe7b6 commit 9b0a67c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

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

55
module.exports = findAllBefore
66

7-
/* Find nodes before `index` in `parent` which pass `test`. */
87
function findAllBefore(parent, index, test) {
98
var results = []
109
var children
@@ -24,7 +23,7 @@ function findAllBefore(parent, index, test) {
2423
throw new Error('Expected positive finite index or child node')
2524
}
2625

27-
/* Performance. */
26+
// Performance.
2827
if (index > children.length) {
2928
index = children.length
3029
}

0 commit comments

Comments
 (0)