Skip to content

Commit

Permalink
Removed stale docs.
Browse files Browse the repository at this point in the history
For changes made in pull request hubotio#451
  • Loading branch information
creatorrr committed Mar 25, 2013
1 parent ccbd7bf commit 6c304a6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c304a6

Please sign in to comment.