Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10 from ddlsmurf/master

root docstring was broken
  • Loading branch information...
commit 047d544605235f3d69e696eee82a891852d655d0 2 parents a44c66c + 8e67c5b
@omarkhan omarkhan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/helpers.coffee
View
2  src/helpers.coffee
@@ -16,7 +16,7 @@ exports.getNodes = (script) ->
root_node = coffeescript.nodes(script)
root_node.traverseChildren false, (node) ->
node.type = node.constructor.name
- return [root_node].concat(root_node.expressions)
+ return [].concat(root_node.expressions, root_node)
exports.getFullName = (variable) ->
###
Please sign in to comment.
Something went wrong with that request. Please try again.