Skip to content
Browse files

Fixed reference in dispatcher

  • Loading branch information...
1 parent b60f0ba commit 7f04c456b887fe8a606eada7f6e381e4dcf605ee @dshaw dshaw committed Aug 29, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/js/socket.js
View
4 public/js/socket.js
@@ -44,7 +44,7 @@
console.log(msg);
global.APPVIEW.next_page();
},
- gamestart : _alertMessage,
+ gamestart : this._alertMessage,
// not implemented
gravatar : function(message) {
var msg = message.msg || "";
@@ -75,7 +75,7 @@
console.log("OUCH "+ouchLocation);
global.My_Gameboard.set_peg(ouchLocation);
},
- quitter : _alertMessage,
+ quitter : this._alertMessage,
setup : function(message) {
var playersState = message.msg;
console.log(playersState);

0 comments on commit 7f04c45

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