diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-05 01:21:38 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-05 01:21:38 -0400 |
| commit | 18f6f0219474f0f43e7403a5f5f8cff7c3dd0246 (patch) | |
| tree | 228fd343f36da554e540a70a0522eae489ad62fc /public/js/lib/views/room/index.js | |
| parent | d0b4cd4f7e6364a35a420f2f3b0fcdbb502d8a9a (diff) | |
login view, lobby view
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 |
