8000 Fix #175 compatibility with coffeescript 1.9.0 · sockjs/sockjs-node@23f6ceb · GitHub
[go: up one dir, main page]

Skip to content

Commit 23f6ceb

Browse files
committed
Fix #175 compatibility with coffeescript 1.9.0
1 parent dd3497a commit 23f6ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sockjs.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ generate_dispatcher = (options) ->
108108
class Listener
109109
constructor: (@options, emit) ->
110110
@app = new App()
111-
@app.options = options
111+
@app.options = @options
112112
@app.emit = emit
113113
@app.log('debug', 'SockJS v' + sockjsVersion() + ' ' +
114-
'bound to ' + JSON.stringify(options.prefix))
114+
'bound to ' + JSON.stringify(@options.prefix))
115115
@dispatcher = generate_dispatcher(@options)
116116
@webjs_handler = webjs.generateHandler(@app, @dispatcher)
117117
@path_regexp = new RegExp('^' + @options.prefix + '([/].+|[/]?)$')

0 commit comments

Comments
 (0)
0