tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1351054 - in /tomcat/trunk/webapps/examples/websocket: chat.html echo.html snake.html
Date Sun, 17 Jun 2012 06:04:47 GMT
Author: kkolinko
Date: Sun Jun 17 06:04:46 2012
New Revision: 1351054

URL: http://svn.apache.org/viewvc?rev=1351054&view=rev
Log:
tabs -> spaces, as reminded by Checkstyle

Modified:
    tomcat/trunk/webapps/examples/websocket/chat.html
    tomcat/trunk/webapps/examples/websocket/echo.html
    tomcat/trunk/webapps/examples/websocket/snake.html

Modified: tomcat/trunk/webapps/examples/websocket/chat.html
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/websocket/chat.html?rev=1351054&r1=1351053&r2=1351054&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/websocket/chat.html (original)
+++ tomcat/trunk/webapps/examples/websocket/chat.html Sun Jun 17 06:04:46 2012
@@ -80,7 +80,7 @@
             if (window.location.protocol == 'http:') {
                 Chat.connect('ws://' + window.location.host + '/examples/websocket/chat');
             } else {
-            	Chat.connect('wss://' + window.location.host + '/examples/websocket/chat');
+                Chat.connect('wss://' + window.location.host + '/examples/websocket/chat');
             }
         };
 

Modified: tomcat/trunk/webapps/examples/websocket/echo.html
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/websocket/echo.html?rev=1351054&r1=1351053&r2=1351054&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/websocket/echo.html (original)
+++ tomcat/trunk/webapps/examples/websocket/echo.html Sun Jun 17 06:04:46 2012
@@ -104,11 +104,11 @@
         }
 
         function updateTarget(target) {
-        	if (window.location.protocol == 'http:') {
-        	    document.getElementById('target').value = 'ws://' + window.location.host + target;
-        	} else {
-        		document.getElementById('target').value = 'wss://' + window.location.host + target;
-        	}
+            if (window.location.protocol == 'http:') {
+                document.getElementById('target').value = 'ws://' + window.location.host
+ target;
+            } else {
+                document.getElementById('target').value = 'wss://' + window.location.host
+ target;
+            }
         }
 
         function log(message) {

Modified: tomcat/trunk/webapps/examples/websocket/snake.html
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/websocket/snake.html?rev=1351054&r1=1351053&r2=1351054&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/websocket/snake.html (original)
+++ tomcat/trunk/webapps/examples/websocket/snake.html Sun Jun 17 06:04:46 2012
@@ -112,7 +112,7 @@
             if (window.location.protocol == 'http:') {
                 Game.connect('ws://' + window.location.host + '/examples/websocket/snake');
             } else {
-            	Game.connect('wss://' + window.location.host + '/examples/websocket/snake');
+                Game.connect('wss://' + window.location.host + '/examples/websocket/snake');
             }
         };
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message