Permalink
Browse files

Removed stale docs.

For changes made in pull request #451
  • Loading branch information...
1 parent ccbd7bf commit 6c304a65e29bfe67575a3a6e2f928556945641a0 @creatorrr committed Mar 25, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 README.md
View
@@ -105,16 +105,6 @@ callback function that accepts a request and a response.
In addition, if you set `EXPRESS_STATIC`, the HTTP listener will serve static
files from this directory.
-Also, set `EXPRESS_SOCKETS` to true to setup sokect.io; you can configure it in your scripts using the `io` property on `robot`.
-
-```coffeescript
-module.exports = (robot) ->
- io = robot.router.io
- io.sockets.on 'connection', (socket) ->
- socket.emit 'news', hello: 'world'
- socket.on 'event', (data) -> console.log data
-```
-
## Events
Hubot has also an node.js [EventEmitter][event-emitter] attached. It can be used

0 comments on commit 6c304a6

Please sign in to comment.