Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Jan 16, 2015
1 parent 0ba4fdf commit 1931c8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/dev-resources/testing/app.clj
Expand Up @@ -81,7 +81,7 @@
(assoc
(async/as-channel request
{:on-open (fn [ch]
#_(println "TC: open" ch hs))
#_(println "TC: open" ch))
:on-message (fn [ch message]
#_(println "TC: message" message)
(async/send! ch (.toUpperCase message)))
Expand Down
3 changes: 1 addition & 2 deletions web/src/immutant/web/middleware.clj
Expand Up @@ -72,8 +72,7 @@
"Middleware to attach websocket callbacks to a Ring handler.
The following callbacks are supported, where `channel` is an object
extended to [[immutant.web.async/Channel]], `handshake` is extended
to [[immutant.web.async/WebsocketHandshake]], `throwable` is a Java
extended to [[immutant.web.async/Channel]], `throwable` is a Java
exception, and `message` may be either a `String` or a `byte[]`:
* :on-message `(fn [channel message])`
Expand Down

0 comments on commit 1931c8a

Please sign in to comment.