Permalink
Browse files

switch back to sockjs() instead of sockjs.create()

  • Loading branch information...
1 parent 3d17ab2 commit b3725c632f51f81b9c3cddc8a481d17e97790c9e @substack committed Mar 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 browser.js
View
2 browser.js
@@ -19,7 +19,7 @@ module.exports = function (uri, cb) {
var ready = false;
var buffer = [];
- var sock = sockjs.create(uri);
+ var sock = sockjs(uri);
stream.sock = sock;
stream.write = function (msg) {

0 comments on commit b3725c6

Please sign in to comment.