Skip to content

Commit

Permalink
Merge pull request hubotio#452 from creatorrr/fixdocs
Browse files Browse the repository at this point in the history
Removed stale docs.
  • Loading branch information
atmos committed Mar 25, 2013
2 parents ccbd7bf + 6c304a6 commit 92035e5
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 92035e5

Please sign in to comment.