Skip to content
Browse files

don't empty arrays given to CodeString.join()

  • Loading branch information...
1 parent d316403 commit c32e721ced2e530ac04fe8866f942f9652d3e9ad @thejh committed Jan 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/nodes.coffee
View
1 src/nodes.coffee
@@ -1918,6 +1918,7 @@ class CodeString
@join: (node, parts, seperator) ->
copy = []
+ parts = parts.slice()
while parts.length
if copy.length > 0
copy.push seperator

0 comments on commit c32e721

Please sign in to comment.
Something went wrong with that request. Please try again.