Permalink
Browse files

Cosmetic: Remainders of the old api (via @squaremo)

  • Loading branch information...
1 parent 9eeb430 commit a476ca2baca6f5d46cafb89cd7d49f5b2842cb0f @majek majek committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -24,7 +24,7 @@ var sockjs = require('sockjs');
var echo = sockjs.createServer(sockjs_opts);
echo.on('connection', function(conn) {
- conn.on('message', function(message) {
+ conn.on('data', function(message) {
conn.write(message);
});
conn.on('close', function() {});

0 comments on commit a476ca2

Please sign in to comment.