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.11 by root, Tue Nov 6 19:02:00 2012 UTC vs.
Revision 1.12 by root, Tue Nov 6 19:02:40 2012 UTC

2431} 2431}
2432var tiles = []; 2432var tiles = [];
2433 2433
2434function onMessage2(data) 2434function onMessage2(data)
2435{ 2435{
2436 console.debug(data);
2437
2438 var patt=/[0-9a-z_]*[^0-9a-z_]/i; 2436 var patt=/[0-9a-z_]*[^0-9a-z_]/i;
2439 var feed = "" + data.match(patt); 2437 var feed = "" + data.match(patt);
2440 feed = feed.substr (0,feed.length -1); 2438 feed = feed.substr (0,feed.length -1);
2441 if (feed=="nul"){ 2439 if (feed=="nul"){
2442 if (data=="newmap"){ 2440 if (data=="newmap"){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines