From b1a9a9925cdaee322ed42e35132c03861bc12fb2 Mon Sep 17 00:00:00 2001 From: Arnout Kazemier Date: Wed, 13 Jul 2011 03:26:14 -0700 Subject: [PATCH] Fixed examples that had semicolons within chaining --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 89543bd6e7..b568bbfa0f 100644 --- a/index.html +++ b/index.html @@ -360,7 +360,7 @@

Server

-
var app = express.createServer();
+              
var app = express.createServer()
   , io = require('socket.io').listen(app);
 
 app.listen(80);
@@ -453,7 +453,7 @@
               
var io = require('socket.io').listen(80);
 
 var chat = io
-  .of('/chat');
+  .of('/chat')
   .on('connection', function (socket) {
     socket.emit('a message', {
         that: 'only'
@@ -466,7 +466,7 @@
   });
 
 var news = io
-  .of('/news');
+  .of('/news')
   .on('connection', function (socket) {
     socket.emit('item', { news: 'item' });
   });
@@ -603,4 +603,4 @@ Fork me on GitHub - + \ No newline at end of file