wwm.lobby = (function (){
	var jqMap;
	var userInfo;
	function setJqMap ($con) {
		jqMap = {
			$con: $con,
			$showCreateroom: $con.find('#show-createroom-modal'),
			$searchroomBtn: $con.find('#searchroom-btn'),
			$list: $con.find('#room-list'),
			$logout: $con.find('#logout-btn')
		};
	}
	function initModule ($con) {
		userInfo = JSON.parse(localStorage.login);
		var src = $('#wwm-lobby').text();
		dust.render(dust.loadSource(dust.compile(src)), {
			name: userInfo.username
		}, function(err, out) {
			$container.html(out);
		}
		setJqMap($con);
		getList();
		jqMap.$showCreateroom.click(showCreateroom);
		jqMap.$searchroomBtn.click(onSearchRoom);
		jqMap.$logout.click(onLogout);
	}
	function showCreateroom () {
		wwm.modal.initModule($('#wwm-createroom'));
	}
	function getList() {
		$.get('/roomlist').done(function(res){
			jqMap.$list.html();
		});
	}
	function changeList(data) {
		var $frag = $(document.createDocumentFragment());
		jqMap.$list.html();
	}
	function onSearchRoom (query) {
		$.get('/search/' + query, function(res) {
			changeList(res);
		});
	}
	function onLogout() {
		localStorage.removeItem('login');
		location.href = '/logout';
	}
	return {
		initModule: initModule
	};
}());

@@ -64,17 +64,16 @@
 setJqMap
- 
 ($con) %7B
@@ -277,16 +277,46 @@
 ut-btn')
+,%0A%09%09%09$room: $con.find('.room')
 %0A%09%09%7D;%0A%09%7D
@@ -336,17 +336,16 @@
 itModule
- 
 ($con) %7B
@@ -708,19 +708,17 @@
 ick(
-onL
+l
 ogout);%0A
 %09%7D%0A%09
@@ -713,16 +713,48 @@
 ogout);%0A
+%09%09jqMap.$room.click(enterRoom);%0A
 %09%7D%0A%09func
@@ -772,17 +772,16 @@
 eateroom
- 
 () %7B%0A%09%09w
@@ -1147,11 +1147,9 @@
 ion 
-onL
+l
 ogou
@@ -1222,16 +1222,78 @@
 ut';%0A%09%7D%0A
+%09function enterRoom() %7B%0A%09%09wwm.room.initModule(jqMap.$con);%0A%09%7D%0A
 %09return 

Update wwm.lobby.js