ericz 12 years ago
parent
commit
7437cd1091
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/p2pchat.html

+ 1 - 1
examples/p2pchat.html

@@ -59,7 +59,7 @@
 			$('#connectbtn').click(function()
 				{
 					var username = $('#i_username').val();
-					var peer = new Peer({key: 'x7fwx2kavpy6tj4i'});
+					var peer = new Peer(username, {key: 'x7fwx2kavpy6tj4i', debug: true});
 					peer.on('error',function(error)
 					{
 						alert(error);