Skip to content

Loading…

Fix for broken `sockjs.listen`. #24

Merged
merged 1 commit into from

2 participants

@stephank

Straight forward, really. :)

@majek majek merged commit 00af6db into sockjs:master
@majek
SockJS - WebSocket emulation member

I guess we need proper tests....

@eralha eralha pushed a commit that referenced this pull request
@majek majek #24 for all IE quirks - use feature detection to check if it supports…
… streaming (during tests)
61ca770
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 21, 2011
  1. @stephank

    Fix for broken `sockjs.listen`.

    stephank committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sockjs.coffee
View
2 src/sockjs.coffee
@@ -142,7 +142,7 @@ exports.createServer = (options) ->
return new Server(options)
exports.listen = (http_server, options) ->
- srv = createServer(options)
+ srv = exports.createServer(options)
if http_server
srv.installHandlers(http_server)
return srv
Something went wrong with that request. Please try again.