diff options
Diffstat (limited to 'public/js/lib/views/room/index.js')
| -rw-r--r-- | public/js/lib/views/room/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/lib/views/room/index.js b/public/js/lib/views/room/index.js index b266e29..58d7449 100644 --- a/public/js/lib/views/room/index.js +++ b/public/js/lib/views/room/index.js @@ -3,7 +3,8 @@ var RoomView = View.extend({ events: { }, - initialize: function(){ + initialize: function(name){ + app.socket = ws.connect(name) } })
\ No newline at end of file |
