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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to