From 4514c2c49f0e0ec7cf9911dc254a8d20644d5def Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 5 Aug 2015 21:28:20 -0400 Subject: pushing messages into a div --- public/js/lib/views/lobby/index.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 public/js/lib/views/lobby/index.js (limited to 'public/js/lib/views/lobby/index.js') 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 -- cgit v1.2.3-70-g09d2