Skip to content

Commit 770f526

Browse files
committed
Remove superfluous comments
1 parent 44ad57f commit 770f526

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
'use strict'
22

3-
/* Expose. */
43
module.exports = generated
54

6-
/* Detect if a node was available in the original document. */
75
function generated(node) {
86
var position = optional(optional(node).position)
97
var start = optional(position.start)
@@ -12,8 +10,6 @@ function generated(node) {
1210
return !start.line || !start.column || !end.line || !end.column
1311
}
1412

15-
/* Return `value` if it’s an object, an empty object
16-
* otherwise. */
1713
function optional(value) {
1814
return value && typeof value === 'object' ? value : {}
1915
}

0 commit comments

Comments
 (0)