Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created June 17, 2012 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaycfields/2946044 to your computer and use it in GitHub Desktop.
Save jaycfields/2946044 to your computer and use it in GitHub Desktop.
; the code I work with has a publish-fn that we use to publish json back to a web-socket.
; therefore, the following line is all we need to add to our application to get the web REPL working
(publish-fn (hash-map :type :web-repl-response :response (web-repl/do-eval command publish-fn))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment