Permalink
Browse files

it helps to emit well-formed JSON

  • Loading branch information...
1 parent 829e66e commit 4883a4859655197000b816f6a391add4f0e564e4 @cemerick committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cemerick/drawbridge.clj
View
2 src/cemerick/drawbridge.clj
@@ -40,7 +40,7 @@
:headers {"Content-Type" "application/json"}
:body (concat ["[\n"]
(->> (map json/generate-string response-seq)
- (interpose "\n"))
+ (interpose ",\n"))
["\n]"])})
(def response-timeout-header "REPL-Response-Timeout")

0 comments on commit 4883a48

Please sign in to comment.