Skip to content

Commit

Permalink
Refactor comment-style
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 23, 2019
1 parent d49222f commit 89e9c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = nlcstToString

/* Stringify a NLCST node or list of nodes. */
// Stringify one nlcst node or list of nodes.
function nlcstToString(node, separator) {
var sep = separator || ''
var values
Expand All @@ -20,7 +20,7 @@ function nlcstToString(node, separator) {
children = 'length' in node ? node : node.children
length = children.length

/* Shortcut: This is pretty common, and a small performance win. */
// Shortcut: This is pretty common, and a small performance win.
if (length === 1 && 'value' in children[0]) {
return children[0].value
}
Expand Down

0 comments on commit 89e9c8f

Please sign in to comment.