Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removed socket.io and exposed server object. #451

Merged
merged 1 commit into from

2 participants

@creatorrr

As decided on the discussion with @atmos and @kashyapp at #446

@atmos atmos merged commit ccbd7bf into from
@creatorrr creatorrr referenced this pull request from a commit in creatorrr/hubot
@creatorrr creatorrr Removed stale docs.
For changes made in pull request #451
6c304a6
@creatorrr creatorrr referenced this pull request
Merged

Removed stale docs. #452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 25, 2013
  1. @creatorrr

    Removed socket.io and exposed server object.

    creatorrr authored
    As decided on the discussion with @atmos and @kashyapp at github/hubot#446
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/robot.coffee
View
6 src/robot.coffee
@@ -239,11 +239,7 @@ class Robot
app.use express.static stat if stat
# Listen to incoming requests.
- server = app.listen process.env.PORT || 8080
-
- # Attach socket.io to server if predicate has been set.
- if sockets
- @io = (require 'socket.io').listen server
+ @server = app.listen process.env.PORT || 8080
# Expose express app as router.
@router = app
Something went wrong with that request. Please try again.