diff options
Diffstat (limited to 'public/js/lib/views/lobby/index.js')
| -rw-r--r-- | public/js/lib/views/lobby/index.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/public/js/lib/views/lobby/index.js b/public/js/lib/views/lobby/index.js deleted file mode 100644 index 0306445..0000000 --- a/public/js/lib/views/lobby/index.js +++ /dev/null @@ -1,17 +0,0 @@ -var LobbyView = View.extend({ - - events: { - "form submit": "join" - }, - - initialize: function(){ - this.$createRoom = this.$("#create-room") - }, - - join: function(){ - var name = this.$createRoom.sanitizeName() - if (! name) { return } - window.location.href = "/v/" + name - } - -})
\ No newline at end of file |
