ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/html5client/main.js
(Generate patch)

Comparing deliantra/html5client/main.js (file contents):
Revision 1.7 by root, Tue Nov 6 16:28:13 2012 UTC vs.
Revision 1.8 by root, Tue Nov 6 16:49:54 2012 UTC

131var xInfoWindow = null; 131var xInfoWindow = null;
132var xBarsWindow = null; 132var xBarsWindow = null;
133var xCommmandWindow = null; 133var xCommmandWindow = null;
134var xChatBoxWindow = null; 134var xChatBoxWindow = null;
135 135
136//var wsUri = "ws://testserver.deliantra.net:13327/ws"; 136var wsUri = "ws://testserver.deliantra.net:13327/ws";
137var wsUri = "ws://localhost:13327/ws"; 137//var wsUri = "ws://localhost:13327/ws";
138 138
139function createWebSocket(){ 139function createWebSocket(){
140 var websocket = new WebSocket(wsUri); 140 var websocket = new WebSocket(wsUri);
141 websocket.onopen = function(evt) { onOpen(evt) }; 141 websocket.onopen = function(evt) { onOpen(evt) };
142 websocket.onclose = function(evt) { onClose(evt) }; 142 websocket.onclose = function(evt) { onClose(evt) };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines