Skip to content
Browse files

Added userlist dispatcher.

  • Loading branch information...
1 parent 1821f86 commit c03b68c40efa725a3d07d605e5b4b37cc3c73ed6 @dshaw dshaw committed Aug 29, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 public/js/socket.js
View
6 public/js/socket.js
@@ -89,6 +89,12 @@
global.APPVIEW.win_state = true;
global.APPVIEW.next_page();
},
+ userlist : function(message) {
+ var userlist = message.msg || [];
+ console.log(JSON.stringify(userlist));
+ alert(JSON.stringify(userlist));
+ // TODO: Update player listing.
+ },
yourturn : function(message) {
var msg = message.msg || "";
console.log(msg);

0 comments on commit c03b68c

Please sign in to comment.
Something went wrong with that request. Please try again.