Skip to content

Commit 62f803f

Browse files
committed
Refactor comment-style
1 parent 6e84220 commit 62f803f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ var own = {}.hasOwnProperty
55
module.exports = stringify
66

77
function stringify(value) {
8-
/* Nothing. */
8+
// Nothing.
99
if (!value || typeof value !== 'object') {
1010
return ''
1111
}
1212

13-
/* Node. */
13+
// Node.
1414
if (own.call(value, 'position') || own.call(value, 'type')) {
1515
return position(value.position)
1616
}
1717

18-
/* Position. */
18+
// Position.
1919
if (own.call(value, 'start') || own.call(value, 'end')) {
2020
return position(value)
2121
}
2222

23-
/* Point. */
23+
// Point.
2424
if (own.call(value, 'line') || own.call(value, 'column')) {
2525
return point(value)
2626
}
2727

28-
/* ? */
28+
// ?
2929
return ''
3030
}
3131

0 commit comments

Comments
 (0)