Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #452 from creatorrr/fixdocs

Removed stale docs.
  • Loading branch information...
commit 92035e521cd3e355f4a4edfb14c3ba0973c9c9d9 2 parents ccbd7bf + 6c304a6
@atmos atmos authored
Showing with 0 additions and 10 deletions.
  1. +0 −10
@@ -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; you can configure it in your scripts using the `io` property on `robot`.
-module.exports = (robot) ->
- 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
Please sign in to comment.
Something went wrong with that request. Please try again.