Skip to content

Commit

Permalink
Fix #175 compatibility with coffeescript 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Mar 11, 2015
1 parent dd3497a commit 23f6ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sockjs.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ generate_dispatcher = (options) ->
class Listener
constructor: (@options, emit) ->
@app = new App()
@app.options = options
@app.options = @options
@app.emit = emit
@app.log('debug', 'SockJS v' + sockjsVersion() + ' ' +
'bound to ' + JSON.stringify(options.prefix))
'bound to ' + JSON.stringify(@options.prefix))
@dispatcher = generate_dispatcher(@options)
@webjs_handler = webjs.generateHandler(@app, @dispatcher)
@path_regexp = new RegExp('^' + @options.prefix + '([/].+|[/]?)$')
Expand Down

0 comments on commit 23f6ceb

Please sign in to comment.