Skip to content

Commit 036faa7

Browse files
committed
Readme: fix
1 parent 7b2a71a commit 036faa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ server.listen(3000);
172172
equivalent:
173173
174174
```js
175-
var io = require('socket.io');
175+
var io = require('socket.io')();
176176
io.sockets.emit('an event sent to all connected clients');
177177
io.emit('an event sent to all connected clients');
178178
```

0 commit comments

Comments
 (0)