 
                                 do (connection) =>
 
-                                    connection.on "error", (error) =>
+                                    connection.on "error", (error) ->
                                         alert error.type
 
                                     connection.on "open", =>


                connection = peer.connect "x"

                connection.on "error", (error) =>
                    alert error

                connection.on "open", =>

        messages: []

    connectionsToPeerIds: (connections) ->
        _.map connections, (connection) -> connection.peer

    componentWillMount: ->
        who = getSegments()[1]
