Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

connection: rm localhost workaround

  • Loading branch information...
commit f9b57943b2b0cb87eef687488f1b8083b6847e57 1 parent db232a4
@astro astro authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/handlers/connection.coffee
View
5 src/handlers/connection.coffee
@@ -27,11 +27,6 @@ class exports.ConnectionHandler extends Backbone.EventHandler
app.debug "OUT", Strophe.serialize stanza
send.apply @connection, arguments
- # workaround for development
- if window.location.hostname is "localhost"
- # get around Access-Control-Allow-Origin restrictions
- return callback()
-
# check if the bosh service is reachable
jQuery.ajax
type:'POST'

0 comments on commit f9b5794

Please sign in to comment.
Something went wrong with that request. Please try again.